olefredrik / FoundationPress

FoundationPress is a WordPress starter theme based on Foundation 6 by Zurb
https://foundationpress.olefredrik.com
MIT License
2.71k stars 871 forks source link

Failed at the theme@2.10.4 start script. #1373

Closed WordpressNick closed 5 years ago

WordpressNick commented 5 years ago

How can this bug be reproduced?

I am revisiting a project from last year and when I run NPM start I get the following error... [11:29:07] 'build' errored after 72 ms [11:29:07] 'default' errored after 75 ms [11:29:07] The following tasks did not complete: webpack:build, images, copy [11:29:07] Did you forget to signal async completion? npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! theme@2.10.4 start: gulp npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the theme@2.10.4 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

What did you expect to happen?

Compile the code

What happened instead?

Errors...

[11:29:07] 'build' errored after 72 ms [11:29:07] 'default' errored after 75 ms [11:29:07] The following tasks did not complete: webpack:build, images, copy [11:29:07] Did you forget to signal async completion? npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! theme@2.10.4 start: gulp npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the theme@2.10.4 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Please List the Following:

derweili commented 5 years ago

@WordpressNick please try using node v 6.11.5.

The FoundationPress Version 2.10.4 (from last year) does not support Node Version 10.15.3

Try following steps

If this does not work, please provide the whole content of your package.json

WordpressNick commented 5 years ago

Thanks that worked!