Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

When running npm install in homestead I get a long list of errors which start out with

npm ERR! UNKNOWN, mkdir '/home/vagrant/Code/gulp/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/node_modules/bin-wrapper/node_modules/bin-version-check/node_modules/bin-version/node_modules/find-versions'

My guess is the problem with the 260 character limit on paths that windows has and since all these folders map over to Windows from vagrant that is where the error is coming from.

Does anyone have an idea to get around this?

share|improve this question
    
I have the same issue. Have you resolved it? –  c 2 Feb 13 at 23:31
    
@c2 I installed on my host machine and made sure to do npm install --global gulp –  Casey Feb 14 at 2:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.