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

npm ERR! enoent ENOENT: no such file or directory, rename #29

Open
flatmax opened this issue Oct 18, 2018 · 0 comments
Open

npm ERR! enoent ENOENT: no such file or directory, rename #29

flatmax opened this issue Oct 18, 2018 · 0 comments

Comments

@flatmax
Copy link

flatmax commented Oct 18, 2018

When @polymer/font-roboto is nested inside other element's node_modules npm will fail to install reporting :
npm ERR! path element/node_modules/.staging/@polymer/font-roboto-22e51083
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'element/node_modules/.staging/@polymer/font-roboto-22e51083' -> 'element2/node_modules/@polymer/font-roboto'

npm i doesn't install correctly and fails to install. The nesting is like so :
element2/node_modules/element/node_modules/@polymer/font-roboto
The conflict is around :
element2/node_modules/@polymer/font-roboto

The current fix is the same as for other nesting issues :
Polymer/polymer#5407

Not very elegant, but it works.

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