mediacurrent / theme_generator_8

Yeoman generator for Drupal Themes - lets you quickly set up a Drupal 8 theme with sensible defaults and best practices.
MIT License
100 stars 25 forks source link

Assertion failed error while running the watch task #77

Closed mariohernandez closed 3 years ago

mariohernandez commented 3 years ago

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.
mariohernandez commented 3 years ago

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