Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

npm ERR! code ELIFECYCLE / Failed at postinstall script #501

Closed
jwindeknecht opened this issue Oct 7, 2015 · 4 comments
Closed

npm ERR! code ELIFECYCLE / Failed at postinstall script #501

jwindeknecht opened this issue Oct 7, 2015 · 4 comments

Comments

@jwindeknecht
Copy link

npm ERR!    Darwin 14.5.0
npm ERR!    argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR!    node v4.1.2
npm ERR!    npm  v2.14.4
npm ERR!    code ELIFECYCLE
npm ERR!    foundationpress@1.5.0 postinstall: `bower install && grunt build`
npm ERR!    Exit status 1
npm ERR!
npm ERR!    Failed at the foundationpress@1.5.0 postinstall script 'bower install && grunt build'.
npm ERR!    This is most likely a problem with the foundationpress package,
npm ERR!    not with npm itself.
npm ERR!    Tell the author that this fails on your system:
npm ERR!    bower install && grunt build

I'm thinking it's just some sort of versioning issue but I'm not sure how to go about resolving the error. Thanks for any insight you can provide.

@olefredrik
Copy link
Owner

Hmm. Strange. I just cloned the repository and did a npm install with no issues. Running node v4.1.2 and npm v.2.14.4 on Mac OSX 10.11.

Here is an example #481 , and here is another one #468 .

@jwindeknecht
Copy link
Author

I tried editing the json package, but no luck. I'm going to try an install on non-admin OSX account.

@olefredrik
Copy link
Owner

That should not be necessary. My OSX account has admin rights, and I have no problems. This is kind of weird. What error message you get if you take away postscripts from package.json?

Have you tried uninstalling re-installing Node.js with the latest build from https://nodejs.org?

@ottz0
Copy link

ottz0 commented Oct 25, 2015

Same issue here
This is most likely a problem with the foundationpress package...
node -v v4.1.2
npm -v 3.3.5

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

No branches or pull requests

3 participants