question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error running "npm install css-sprite" with node 0.12.0

See original GitHub issue

When I run “npm install”, I’m getting erros:

fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/pathwatcher/src/main.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Darwin 14.0.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/ricardoshigeoka/Jobs/Brastemp/Menu/node_modules/css-sprite/node_modules/gaze
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok

npm ERR! Darwin 14.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "css-sprite"
npm ERR! node v0.12.0
npm ERR! npm  v2.5.1
npm ERR! code ELIFECYCLE

npm ERR! gaze@0.6.4 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the gaze@0.6.4 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the gaze package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls gaze
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:

I’m running on Mac OSX Yosemite.

node version 0.12.0

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:21 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
zjhiphopcommented, Mar 8, 2016

Mac + NodeJS v5.3.0

+1

0reactions
paulstateznycommented, Aug 14, 2015

On 0.9.0 I was able to resolve this issue by rolling back Node to 0.10.29, per the comments above.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error with node-sass when running npm install - Stack Overflow
I've tried reinstalling node and npm, but it always seems to stop on node-sass. npm install runs just fine on all my laravel...
Read more >
"Provide Node & npm bin/ folder to PATH" not working for ...
I just set up a nodejs project that needs `npm install` to handle but am running into this issues stated here. Console output....
Read more >
jimp - npm
An image processing library for Node written entirely in JavaScript, with zero native dependencies. The default jimp configuration.
Read more >
svg-sprite | Yarn - Package Manager
svg-sprite is a low-level Node.js module that takes a bunch of SVG files, optimizes them and bakes them into SVG sprites of several...
Read more >
[Solved]-NPM - can't install css-sprite on winfows 8.1-node.js
Coding example for the question NPM - can't install css-sprite on winfows 8.1-node.js.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found