Skip to content

Error installing specific version #24

Description

@zeke

Trying to install a specific version of a package, I get an error:

❯ try electron-api-docs@1.4.2
Gonna start a REPL with packages installed and loaded for you
Couldn't find 'electron-api-docs@1.4.2' locally, gonna download it now
No compatible version found: electron-api-docs@'1.4.2@latest'
Valid install targets:
["1.4.1","1.4.2"]

/usr/local/lib/node_modules/trymodule/index.js:29
            throw new Error('npm install error')
            ^

Error: npm install error
    at npmi (/usr/local/lib/node_modules/trymodule/index.js:29:19)
    at installCallback (/usr/local/lib/node_modules/trymodule/node_modules/npmi/npmi.js:102:9)
    at cb (/usr/local/lib/node_modules/trymodule/node_modules/npm/lib/install.js:119:20)
    at cb (/usr/local/lib/node_modules/trymodule/node_modules/npm/lib/install.js:599:40)
    at /usr/local/lib/node_modules/trymodule/node_modules/npm/lib/install.js:707:22
    at cb (/usr/local/lib/node_modules/trymodule/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)
    at /usr/local/lib/node_modules/trymodule/node_modules/npm/lib/install.js:912:14
    at /usr/local/lib/node_modules/trymodule/node_modules/npm/lib/cache.js:335:58
    at cb (/usr/local/lib/node_modules/trymodule/node_modules/npm/lib/cache/add-named.js:53:5)
    at next (/usr/local/lib/node_modules/trymodule/node_modules/npm/lib/cache/add-named.js:95:12)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions