mediacurrent/theme_generator_8

Assertion failed error while running the watch task

Closed this issue · 1 comments

While running the watch task and a JSON change is saved, the watch task crashes and one of the following errors appears:
Assertion failed: (0), function uv_close, file ../deps/uv/src/unix/core.c, line 174.
segmentation fault npm run watch

How to reproduce:

  1. Create a new theme with the generator and select all available components.
  2. Build the theme (npm run build) then run the watch task (npm run watch)
  3. Make any change to one of the component's JSON files and save the change
    Your watch task will crash and one of the errors above will display in the command line.

Error seems to go away by installing latest version of NPM as stated in README. Run nvm install-latest-npm.