Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install failing #4

Open
jdivock opened this issue Dec 2, 2013 · 3 comments · May be fixed by #6
Open

npm install failing #4

jdivock opened this issue Dec 2, 2013 · 3 comments · May be fixed by #6

Comments

@jdivock
Copy link

jdivock commented Dec 2, 2013

Error: Cannot find module '../node_modules/lodash/vendor/tar/tar.js'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at /Users/xxx/Projects/GumbyTest/node_modules/grunt-requirejs/node_modules/grunt-lodashbuilder/bin/post-install.js:14:13
    at Object.<anonymous> (/Users/jdivock/Projects/GumbyTest/node_modules/grunt-requirejs/node_modules/grunt-lodashbuilder/bin/post-install.js:166:2)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
npm ERR! [email protected] postinstall: `node ./bin/post-install.js`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is most likely a problem with the grunt-lodashbuilder package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./bin/post-install.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls grunt-lodashbuilder
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 13.0.1
npm ERR! command "/usr/local/Cellar/node/0.10.22/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/xxx/Projects/GumbyTest
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/xxx/Projects/GumbyTest/npm-debug.log
npm ERR! not ok code 0
@jagged3dge
Copy link

i'm facing the same exact problem too. I tried to dig into the lodashbuilder, but couldn't get too far. Would like a workaround

@wiemann wiemann linked a pull request Feb 8, 2014 that will close this issue
@yorch
Copy link

yorch commented Oct 14, 2014

Same here, pull request hasn't been merged unfortunately.

@yorch
Copy link

yorch commented Oct 14, 2014

A workaround:

yo gumby --skip-install

Then update your package.json file according to this commit (one line):
https://github.com/wiemann/generator-gumby/commit/29a6181ebc3a6619b2dea1731c4407217c3c66c5

And finally, run npm install && bower install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants