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)

Most upvoted comments

just do npm rebuild node-sass

I was getting the exact same error until I realized a line in my scss was broken.

This is fixed by creating a .babelrc file in the project root directory with the following content:

{
  "presets": ["es2015"]
}

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 i

You probably just need to escape the characters.

On Tue, May 7, 2019 at 11:52 PM rebeccode notifications@github.com wrote:

I got this error when the subject line of my email contained the characters: [ ]

When I removed them npm run start ran again.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/zurb/foundation-emails/issues/377#issuecomment-490337093, or mute the thread https://github.com/notifications/unsubscribe-auth/AAE4UJC6YT36KKZ2PRJ7PH3PUJE7LANCNFSM4CBT6YCQ .

  1. delete node_modules folder
  2. run npm install

A few people have suggested this, and I am commenting to add that this worked for me!