You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
$ tar xzvf p.tar.gz
$ for i in a b c; do (cd p/$i; npm ci); done
...
npm ERR! enoent ENOENT: no such file or directory, open ' ... /p/c/node_modules/b/node_modules/a/package.json'
...
$ ls -l p/c/node_modules/b/node_modules/a
lrwxrwxrwx 1 nakagawa nakagawa 13 Jul 13 01:12 p/c/node_modules/b/node_modules/a -> ../../../../a
npm i works fine.
$ rm -rf p/?/node_modules
$ for i in a b c; do (cd p/$i; npm i); done
$ ls -l p/c/node_modules/b/node_modules/a
lrwxrwxrwx 1 nakagawa nakagawa 7 Jul 13 01:09 p/c/node_modules/b/node_modules/a -> ../../a
I'm opening this issue because:
What's going wrong?
How can the CLI team reproduce the problem?
p.tar.gz
$ tar xzvf p.tar.gz
$ for i in a b c; do (cd p/$i; npm ci); done
...
npm ERR! enoent ENOENT: no such file or directory, open ' ... /p/c/node_modules/b/node_modules/a/package.json'
...
$ ls -l p/c/node_modules/b/node_modules/a
lrwxrwxrwx 1 nakagawa nakagawa 13 Jul 13 01:12 p/c/node_modules/b/node_modules/a -> ../../../../a
npm i works fine.
$ rm -rf p/?/node_modules
$ for i in a b c; do (cd p/$i; npm i); done
$ ls -l p/c/node_modules/b/node_modules/a
lrwxrwxrwx 1 nakagawa nakagawa 7 Jul 13 01:09 p/c/node_modules/b/node_modules/a -> ../../a
supporting information:
npm -v
prints:6.1.0node -v
prints:v10.6.0npm config get registry
prints:https://registry.npmjs.org/The text was updated successfully, but these errors were encountered: