Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nodenv migrate isn't working properly with linked package #12

Open
arzyu opened this issue Aug 27, 2019 · 0 comments
Open

nodenv migrate isn't working properly with linked package #12

arzyu opened this issue Aug 27, 2019 · 0 comments

Comments

@arzyu
Copy link

arzyu commented Aug 27, 2019

steps:

$ npm list -g --depth 0
/Users/arzyu/.nodenv/versions/12.8.0/lib
├── [email protected] -> /Users/arzyu/projects/lib-test
└── [email protected]

$ nodenv migrate 12.8.0 12.9.1
npm ERR! code ETARGET
npm ERR! notarget No matching version found for [email protected]
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
...

logs:

0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   '/Users/arzyu/.nodenv/versions/12.9.1/bin/node',
1 verbose cli   '/Users/arzyu/.nodenv/versions/12.9.1/bin/npm',
1 verbose cli   'install',
1 verbose cli   '--global',
1 verbose cli   '[email protected]'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session 0980699f1db3e0d1
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 200 https://registry.npmjs.org/lib-test 2942ms
8 silly fetchPackageMetaData error for [email protected] No matching version found for [email protected]
9 timing stage:rollbackFailedOptional Completed in 1ms
10 timing stage:runTopLevelLifecycles Completed in 2958ms
11 verbose type version
12 verbose stack lib-test: No matching version found for [email protected]
12 verbose stack     at pickManifest (/Users/arzyu/.nodenv/versions/12.9.1/lib/node_modules/npm/node_modules/npm-pick-manifest/index.js:101:11)
12 verbose stack     at /Users/arzyu/.nodenv/versions/12.9.1/lib/node_modules/npm/node_modules/pacote/lib/fetchers/registry/manifest.js:24:14
12 verbose stack     at tryCatcher (/Users/arzyu/.nodenv/versions/12.9.1/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
12 verbose stack     at Promise._settlePromiseFromHandler (/Users/arzyu/.nodenv/versions/12.9.1/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:517:31)
12 verbose stack     at Promise._settlePromise (/Users/arzyu/.nodenv/versions/12.9.1/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:574:18)
12 verbose stack     at Promise._settlePromise0 (/Users/arzyu/.nodenv/versions/12.9.1/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:619:10)
12 verbose stack     at Promise._settlePromises (/Users/arzyu/.nodenv/versions/12.9.1/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:699:18)
12 verbose stack     at _drainQueueStep (/Users/arzyu/.nodenv/versions/12.9.1/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:138:12)
12 verbose stack     at _drainQueue (/Users/arzyu/.nodenv/versions/12.9.1/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:131:9)
12 verbose stack     at Async._drainQueues (/Users/arzyu/.nodenv/versions/12.9.1/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:147:5)
12 verbose stack     at Immediate.Async.drainQueues [as _onImmediate] (/Users/arzyu/.nodenv/versions/12.9.1/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:17:14)
12 verbose stack     at processImmediate (internal/timers.js:439:21)
13 verbose cwd /Users/arzyu/projects/lib-test
14 verbose Darwin 18.7.0
15 verbose argv "/Users/arzyu/.nodenv/versions/12.9.1/bin/node" "/Users/arzyu/.nodenv/versions/12.9.1/bin/npm" "install" "--global" "[email protected]"
16 verbose node v12.9.1
17 verbose npm  v6.10.2
18 error code ETARGET
19 error notarget No matching version found for [email protected]
20 error notarget In most cases you or one of your dependencies are requesting
20 error notarget a package version that doesn't exist.
21 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant