Skip to content

make-frontend throws an ELIFECYCLE error #118

Description

@SolviQorda
  • npm v6.4.2
  • node.js v10.10.0
  • stack v 1.6.5

Steps that produced the bug

  1. Cloned the repo.
  2. Installed postgres, followed commands in README
  3. Installed yesod
  4. stack build
  5. make deps

(fwiw I've read the Haskell book, and been contributing to haskell OSS projects for about 4 months, but not much experience with node.)

Full console error:

$ make frontend-watch
cd frontend && npm start

> foundation-sites-template@1.0.0 start /home/solvi/Development/osprojects/moot/moot/frontend
> gulp

[10:50:58] Using gulpfile ~/Development/osprojects/moot/moot/frontend/gulpfile.js
[10:50:58] Starting 'default'...
[10:50:58] 'default' errored after 2.17 ms
[10:50:58] Error: watching scss/**/*.scss: watch task has to be a function (optionally generated by using gulp.parallel or gulp.series)
    at Gulp.watch (/home/solvi/Development/osprojects/moot/moot/frontend/node_modules/gulp/index.js:28:11)
    at /home/solvi/Development/osprojects/moot/moot/frontend/gulpfile.js:37:8
    at taskWrapper (/home/solvi/Development/osprojects/moot/moot/frontend/node_modules/undertaker/lib/set-task.js:13:15)
    at bound (domain.js:396:14)
    at runBound (domain.js:409:12)
    at asyncRunner (/home/solvi/Development/osprojects/moot/moot/frontend/node_modules/async-done/index.js:55:18)
    at process._tickCallback (internal/process/next_tick.js:61:11)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! foundation-sites-template@1.0.0 start: `gulp`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the foundation-sites-template@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/solvi/.npm/_logs/2018-09-20T09_50_58_396Z-debug.log
Makefile:25: recipe for target 'frontend-watch' failed
make: *** [frontend-watch] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions