foundation-emails: npm start error; code ELIFECYCLE; gulp fails
I have installed foundation email using cli I’m now running into the following error with ‘npm start’ and hoping someone can help put me right:
How can we reproduce this bug? I am running:
- MACOS X Version 10.6.8
- npm 3.8.6
- node v4.4.2
- nvm 0.31.0
- git version 1.8.4.2
What did you expect to happen? “npm start” to run without errors
What happened instead?
npm ERR! Darwin 10.8.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v4.4.2
npm ERR! npm v3.8.6
npm ERR! code ELIFECYCLE
npm ERR! foundation-emails-template@1.0.0 start: `gulp`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the foundation-emails-template@1.0.0 start script 'gulp'.
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 foundation-emails-template package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! gulp
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs foundation-emails-template
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls foundation-emails-template
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/fivedoor/Documents/development/zurb/foundation/test190416-2/npm-debug.log
The npm-debug.log here: http://pastebin.com/semQRmcR
I’m fairly new to node & npm and did run into a lot of issues and warnings during the install process of npm install foundation-cli --global
Posted the install log here as I’m not sure if there’s anything in there that sheds more light:
https://github.com/fivedoor/foundation-records/blob/master/installation_log_190416
gulp -v returns [19:52:03] CLI version 3.9.1
I was wondering if the problem might be connected to the fact that gulp referenced in the json file dev dependencies is v4.0?
"gulp": "git+https://github.com/gulpjs/gulp.git#4.0",
thanks
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 3
- Comments: 20 (2 by maintainers)
just do
npm rebuild node-sassI was getting the exact same error until I realized a line in my scss was broken.
This is fixed by creating a
.babelrcfile in the project root directory with the following content:I’d make a PR but the branches are confusing and I’m not really sure what the target branch should be.
@fivedoor You might try deleting your node_modules folder and running
npm iYou probably just need to escape the characters.
On Tue, May 7, 2019 at 11:52 PM rebeccode notifications@github.com wrote:
npm installA few people have suggested this, and I am commenting to add that this worked for me!