Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant