node.js - `node-pre-gyp install --fallback-to-build` failed during MeanJS installation on OSX -


i bought myself mac book after using windows long time.

i trying work on meanjs project had been working on. doing npm install on project throws error

failed execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/users/aayush/work/lishn/repo/lishn-alpha/node_modules/grunt-node-inspector/node_modules/node-inspector/node_modules/v8-debug/build/debug/v0.4.6/node-v46-darwin-x64/debug.node --module_name=debug --module_path=/users/aayush/work/lishn/repo/lishn-alpha/node_modules/grunt-node-inspector/node_modules/node-inspector/node_modules/v8-debug/build/debug/v0.4.6/node-v46-darwin-x64' (1) npm err! darwin 15.0.0 npm err! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm err! node v4.1.1 npm err! npm  v2.14.4 npm err! code elifecycle >  > npm err! v8-debug@0.4.6 install: `node-pre-gyp install --fallback-to-build` npm err! exit status 1 npm err!  npm err! failed @ v8-debug@0.4.6 install script 'node-pre-gyp install --fallback-to-build'. npm err! problem v8-debug package, npm err! not npm itself. npm err! tell author fails on system: npm err!     node-pre-gyp install --fallback-to-build npm err! can info via: npm err!     npm owner ls v8-debug npm err! there additional logging output above. 

i tried clearing cache.

i tried installing node-pre-gyp sudo , --unsafe-perm

i tried fresh install mean project, same error.

i can't seem find problem here.

node version - 5.0.0  npm version - 3.3.10 

i have tried upgrading node-gyp:

npm install -g node-gyp 

it worked me.

i find solution here, hope can help.


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -