I am running into the Windows Path character limit.
When I run an install of 'gulp' for example, via
npm install --save-dev gulp
in a folder such as "C:\\Users\\MyUsername\\Visual Studio 2015\\Projects\\MyProject", I find that all the dependencies are deeply nested, such as:
C:\\Users\\MyUsername\\Visual Studio 2015\\Projects\\MyProject\\node_modules\\gulp\\node_modules\\gulp-util\\node_modules\\dateformat\\node_modules\\meow\\node_modules\\loud-rejection\\node_modules\\signal-exit
Is there a way to avoid this? How do other Windows developers get past this?
Are you using a NPM version 3.x. According to this Node npm windows file paths are too long to install packages most problems with nesting is solved in version 3.x
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.