Answer the question
In order to leave comments, you need to log in
How to get rid of the cant with node_modules names?
Tried to move a folder with a project using npm, Windows cursed at too long target path: D:\1Design\Angular_guide\node_modules\gulp\node_modules\gulp-util\node_modules\dateformat\node_modules\meow\node_modules\normalize-package-data\ node_modules\validate-npm-package-license\node_modules\spdx-expression-parse\node_modules\spdx-exceptions. As you can see, there are a lot of nested subfolders named node_modules. How can you deal with this crap?
Answer the question
In order to leave comments, you need to log in
IMHO - it's easier to switch to Linux. The problem with the names in Windows itself.
Or try to use symbolic links, but I'm not sure that will help.
I will suggest the most obvious way: cut out node_modules, move the project,npm install
npm 3 makes the tree as flat as possible, these issues should go away. npm install [email protected] -g
Unfortunately, I don't know what to do with what I have.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question