Hi,
I have a Vagrant VM with bedrock ansible up and running on a Windows machine. I am now at the point of doing ‘npm install’ in the theme folder. I have the latest version of all the required software.
I have followed the information in the NPM debugging guidelines, and I have also tried following the instructions at this link http://blog.prolificinteractive.com/2015/01/21/getting-vagrant-nodejs-windows-play-well-together/
I cannot get past the issue. I can run npm globally without sudo.
When I put my ‘examplesite.dev’ folder to the C’ drive root I am able to get less errors and more npm processes complete but a lot also fail.
npm ERR! Linux 3.13.0-35-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v0.12.3
npm ERR! npm v2.9.1
npm ERR! path /srv/www/demanilive.com/current/web/app/themes/demanilive/node_modules/imagemin-pngcrush/node_modules/pngcrush-bin/node_modules/bin-build/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/bash-comparison.js
npm ERR! code EPERM
npm ERR! errno -1
npm ERR! Error: EPERM, open '/srv/www/demanilive.com/current/web/app/themes/demanilive/node_modules/imagemin-pngcrush/node_modules/pngcrush-bin/node_modules/bin-build/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/bash-comparison.js'
npm ERR! at Error (native)
npm ERR! { [Error: EPERM, open '/srv/www/demanilive.com/current/web/app/themes/demanilive/node_modules/imagemin-pngcrush/node_modules/pngcrush-bin/node_modules/bin-build/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/bash-comparison.js']
npm ERR! errno: -1,
npm ERR! code: 'EPERM',
npm ERR! path: '/srv/www/demanilive.com/current/web/app/themes/demanilive/node_modules/imagemin-pngcrush/node_modules/pngcrush-bin/node_modules/bin-build/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/bash-comparison.js' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm WARN optional dep failed, continuing imagemin-optipng@4.2.0
npm ERR! Linux 3.13.0-35-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v0.12.3
npm ERR! npm v2.9.1
npm ERR! path /srv/www/demanilive.com/current/web/app/themes/demanilive/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/vinyl-fs/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/node_modules/minimatch/test/extglob-ending-with-state-char.js
npm ERR! code EPERM
npm ERR! errno -1