geobox icon indicating copy to clipboard operation
geobox copied to clipboard

Chef errors during provisioning (npm modules)

Open defvol opened this issue 9 years ago • 1 comments

I noticed that postgres users where not being setup, as expected in https://github.com/zhm/geobox/blob/master/cookbooks/core/recipes/default.rb#L86, so I did a vagrant provision and catched this:

==> default: Error executing action `run` on resource 'execute[install standard node modules]'
...
==> default: npm http GET https://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.8.tgz
==> default: npm http 200 https://registry.npmjs.org/glob
==> default: npm ERR! Error: No compatible version found: fstream@'^1.0.0'
==> default: npm ERR! Valid install targets:
==> default: npm ERR! ["0.0.0","0.0.1","0.1.0","0.1.1","0.1.2","0.1.3","0.1.5","0.1.6","0.1.7","0.1.8","0.1.9","0.1.10","0.1.11","0.1.12","0.1.13","0.1.14","0.1.15","0.1.16","0.1.17","0.1.18","0.1.19","0.1.20","0.1.21","0.1.22","0.1.23","0.1.24","0.1.25","0.1.26","0.1.27","0.1.28","0.1.29","0.1.30","1.0.0","1.0.1","0.1.31","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7"]

defvol avatar Aug 16 '15 22:08 defvol

Updating npm might fix it: https://github.com/TooTallNate/node-gyp/issues/483

https://github.com/npm/npm/issues/6196#issuecomment-55731025

precise64% npm --version
1.1.61

defvol avatar Aug 16 '15 23:08 defvol