Menu icon Foundation
npm start errors

Second day I'm getting errors when I'm trying to run npm start on linux. I've already installed globally both npm, bower, gulp, git. Updated them to last versions. Tried to install zurb template in a lot of different ways with installing both bower and npm locally. But everytime I have different problems.

The one I'm stuck at is: 

[13:13:57] The following tasks did not complete: default, watch

[13:13:57] Did you forget to signal async completion?

internal/child_process.js:313

    throw errnoException(err, 'spawn');

    ^

 

Error: spawn EACCES

    at exports._errnoException (util.js:1026:11)

    at ChildProcess.spawn (internal/child_process.js:313:11)

    at Object.exports.spawn (child_process.js:380:9)

    at module.exports (/media/mantebose/34E4583BE457FE14/pizzas/Complete/node_modules/browser-sync/node_modules/opn/index.js:75:24)

    at Object.open (/media/mantebose/34E4583BE457FE14/pizzas/Complete/node_modules/browser-sync/lib/utils.js:186:9)

    at Object.openBrowser (/media/mantebose/34E4583BE457FE14/pizzas/Complete/node_modules/browser-sync/lib/utils.js:165:23)

    at EventEmitter.service:running (/media/mantebose/34E4583BE457FE14/pizzas/Complete/node_modules/browser-sync/lib/internal-events.js:45:23)

    at emitOne (events.js:101:20)

    at EventEmitter.emit (events.js:188:7)

    at /media/mantebose/34E4583BE457FE14/pizzas/Complete/node_modules/browser-sync/lib/browser-sync.js:260:19

 

npm ERR! Linux 3.19.0-26-generic

npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"

npm ERR! node v6.9.1

npm ERR! npm  v4.1.1

npm ERR! code ELIFECYCLE

npm ERR! [email protected] start: `gulp`

npm ERR! Exit status 1

npm ERR! 

npm ERR! Failed at the [email protected] 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-zurb-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-zurb-template

npm ERR! Or if that isn't available, you can get their info via:

npm ERR!     npm owner ls foundation-zurb-template

npm ERR! There is likely additional logging output above.

 

npm ERR! Please include the following file with any support request:

 

I've tried to start new foundation projects a bunch of times, but nothing changes. Same problem I have even on Windows.

Would be glad if someone finally could tell me what should I do to get it work normally. My main goal is to implement Pizza Amore script to clients project, but I cant even get there, because I'm getting all that errors when I'm trying just to start server locally on foundation template....

 

npmsitespizza amoregulp

Second day I'm getting errors when I'm trying to run npm start on linux. I've already installed globally both npm, bower, gulp, git. Updated them to last versions. Tried to install zurb template in a lot of different ways with installing both bower and npm locally. But everytime I have different problems.

The one I'm stuck at is: 

[13:13:57] The following tasks did not complete: default, watch

[13:13:57] Did you forget to signal async completion?

internal/child_process.js:313

    throw errnoException(err, 'spawn');

    ^

 

Error: spawn EACCES

    at exports._errnoException (util.js:1026:11)

    at ChildProcess.spawn (internal/child_process.js:313:11)

    at Object.exports.spawn (child_process.js:380:9)

    at module.exports (/media/mantebose/34E4583BE457FE14/pizzas/Complete/node_modules/browser-sync/node_modules/opn/index.js:75:24)

    at Object.open (/media/mantebose/34E4583BE457FE14/pizzas/Complete/node_modules/browser-sync/lib/utils.js:186:9)

    at Object.openBrowser (/media/mantebose/34E4583BE457FE14/pizzas/Complete/node_modules/browser-sync/lib/utils.js:165:23)

    at EventEmitter.service:running (/media/mantebose/34E4583BE457FE14/pizzas/Complete/node_modules/browser-sync/lib/internal-events.js:45:23)

    at emitOne (events.js:101:20)

    at EventEmitter.emit (events.js:188:7)

    at /media/mantebose/34E4583BE457FE14/pizzas/Complete/node_modules/browser-sync/lib/browser-sync.js:260:19

 

npm ERR! Linux 3.19.0-26-generic

npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"

npm ERR! node v6.9.1

npm ERR! npm  v4.1.1

npm ERR! code ELIFECYCLE

npm ERR! [email protected] start: `gulp`

npm ERR! Exit status 1

npm ERR! 

npm ERR! Failed at the [email protected] 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-zurb-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-zurb-template

npm ERR! Or if that isn't available, you can get their info via:

npm ERR!     npm owner ls foundation-zurb-template

npm ERR! There is likely additional logging output above.

 

npm ERR! Please include the following file with any support request:

 

I've tried to start new foundation projects a bunch of times, but nothing changes. Same problem I have even on Windows.

Would be glad if someone finally could tell me what should I do to get it work normally. My main goal is to implement Pizza Amore script to clients project, but I cant even get there, because I'm getting all that errors when I'm trying just to start server locally on foundation template....

 

James Watkin almost 3 years ago

I'm on macOS not Linux, but maybe what worked for me could work for you:

http://foundation.zurb.com/forum/posts/50322#comment_36920

Jim