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

npm ERR! Exit status 8 #595

Closed
dantahoua opened this issue Dec 8, 2015 · 3 comments
Closed

npm ERR! Exit status 8 #595

dantahoua opened this issue Dec 8, 2015 · 3 comments

Comments

@dantahoua
Copy link
Contributor

Ok, I want to give a try to the new FoundationPress 2!! But it seems on my Mac (with El Capitan, should I remove integrity system check?) I can't install it...
Here is the error at the end of the installation (same in the log):

[10:49:16] Using gulpfile /Volumes/Dev Studio12/www/PrixModique/wp-prix/wp-content/themes/PrixModiques/gulpfile.js
[10:49:16] Starting 'build'...
[10:49:16] Starting 'copy'...
[10:49:16] Finished 'copy' after 97 ms
[10:49:16] Starting 'sass'...
[10:49:17] Starting 'javascript'...
[10:49:17] Finished 'javascript' after 438 ms

/Volumes/Dev Studio12/www/PrixModique/wp-prix/wp-content/themes/PrixModiques/node_modules/gulp-autoprefixer/node_modules/postcss/lib/lazy-result.js:152
        this.processing = new Promise(function (resolve, reject) {
                              ^
ReferenceError: Promise is not defined
    at LazyResult.async (/Volumes/Dev Studio12/www/PrixModique/wp-prix/wp-content/themes/PrixModiques/node_modules/gulp-autoprefixer/node_modules/postcss/lib/lazy-result.js:152:31)
    at LazyResult.then (/Volumes/Dev Studio12/www/PrixModique/wp-prix/wp-content/themes/PrixModiques/node_modules/gulp-autoprefixer/node_modules/postcss/lib/lazy-result.js:75:21)
    at DestroyableTransform._transform (/Volumes/Dev Studio12/www/PrixModique/wp-prix/wp-content/themes/PrixModiques/node_modules/gulp-autoprefixer/index.js:24:6)
    at DestroyableTransform.Transform._read (/Volumes/Dev Studio12/www/PrixModique/wp-prix/wp-content/themes/PrixModiques/node_modules/gulp-autoprefixer/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:172:10)
    at DestroyableTransform.Transform._write (/Volumes/Dev Studio12/www/PrixModique/wp-prix/wp-content/themes/PrixModiques/node_modules/gulp-autoprefixer/node_modules/through2/node_modules/readable-stream/lib/_stream_tra
npm ERR! foundationpress@2.1.0 postinstall: `bower install && gulp build`
npm ERR! Exit status 8
npm ERR! 
npm ERR! Failed at the foundationpress@2.1.0 postinstall script.
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 && gulp build
npm ERR! You can get their info via:
npm ERR!     npm owner ls foundationpress
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 15.0.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Volumes/Dev Studio12/www/PrixModique/wp-prix/wp-content/themes/PrixModiques
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Volumes/Dev Studio12/www/PrixModique/wp-prix/wp-content/themes/PrixModiques/npm-debug.log
npm ERR! not ok code 0

I'm very bad with scripting so my only help here is to try to give you as much information as I can! :)

@dantahoua
Copy link
Contributor Author

I also have an 'Error: Cannot find module 'abbrev' while the npm install.
I also try to let the package in a FoundationPress folder, change nothing...

@colin-marshall
Copy link
Collaborator

Update Node and try again.

@dantahoua
Copy link
Contributor Author

Oh thanks for the suggestion! I update npm but not Node...
Waou, now it's really fast! Also did 'npm rebuild node-sass' after upgrading Node.
Everything seems to be fine now! :)

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

No branches or pull requests

2 participants