Skip to content

Instantly share code, notes, and snippets.

@xxGus
Created January 21, 2021 11:52
Show Gist options
  • Save xxGus/733dd2e1b20a71394b1dc84a21903ad3 to your computer and use it in GitHub Desktop.
Save xxGus/733dd2e1b20a71394b1dc84a21903ad3 to your computer and use it in GitHub Desktop.
> react-boilerplate@4.0.0 start /Users/gustavobaptista/Documents/projects/barney
> cross-env NODE_ENV=development node server
/Users/gustavobaptista/Documents/projects/barney/node_modules/html-webpack-plugin/index.js:59
compilation.hooks.htmlWebpackPluginAlterChunks = new SyncWaterfallHook(['chunks', 'objectWithPluginRef']);
^
TypeError: Cannot add property htmlWebpackPluginAlterChunks, object is not extensible
at /Users/gustavobaptista/Documents/projects/barney/node_modules/html-webpack-plugin/index.js:59:56
at Hook.eval [as call] (eval at create (/Users/gustavobaptista/Documents/projects/barney/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:102:1)
at Hook.CALL_DELEGATE [as _call] (/Users/gustavobaptista/Documents/projects/barney/node_modules/webpack/node_modules/tapable/lib/Hook.js:14:14)
at Compiler.newCompilation (/Users/gustavobaptista/Documents/projects/barney/node_modules/webpack/lib/Compiler.js:991:26)
at /Users/gustavobaptista/Documents/projects/barney/node_modules/webpack/lib/Compiler.js:1033:29
at Hook.eval [as callAsync] (eval at create (/Users/gustavobaptista/Documents/projects/barney/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/Users/gustavobaptista/Documents/projects/barney/node_modules/webpack/node_modules/tapable/lib/Hook.js:18:14)
at Compiler.compile (/Users/gustavobaptista/Documents/projects/barney/node_modules/webpack/lib/Compiler.js:1028:28)
at /Users/gustavobaptista/Documents/projects/barney/node_modules/webpack/lib/Watching.js:112:19
at Hook.eval [as callAsync] (eval at create (/Users/gustavobaptista/Documents/projects/barney/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-boilerplate@4.0.0 start: `cross-env NODE_ENV=development node server`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-boilerplate@4.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! /Users/gustavobaptista/.npm/_logs/2021-01-21T02_36_14_996Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment