generator-angular-fullstack icon indicating copy to clipboard operation
generator-angular-fullstack copied to clipboard

Issue with NPM 2.14.7 not generating properly

Open rwflan opened this issue 11 years ago • 1 comments

I've been trying to properly scaffold out a MEAN app using yo and the angular-fullstack generator but I've ran into nothing but issues. I learnt the hard that NPM 3 broke dependency management in yo and now I've switched to Node 4.2.2 and NPM 2.14.7 but I'm still getting the below error. Head's spinning with all this stuff by this stage - If there's something I'm missing please offer some guidance.

npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\syfer\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v4.2.2
npm ERR! npm  v3.4.0
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the v8-debug package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build
npm ERR! You can get their info via:
npm ERR!     npm owner ls v8-debug
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\syfer\Desktop\New folder\npm-debug.log

rwflan avatar Nov 24 '15 00:11 rwflan

What version of the generator are trying to get going? Also what version of Node?

If your using 2.x you need to make sure you're on Node 0.12.7. (I'm not sure what version of NPM works)

Also some other random things to try:

npm install -g node-pre-gyp

Another thing to try is:

First check if you meet the installation requirements of node-gyp https://github.com/nodejs/node-gyp#installation

Then you need change your package.json

"grunt-node-inspector": "^0.2.0",

to

"grunt-node-inspector": "^0.4.1",

MarkPieszak avatar Nov 24 '15 01:11 MarkPieszak