npm start
> webar.rocks.face_demos@1.0.0 start /Users/julestestard/go/src/github.com/piepacker/WebAR.rocks.face/reactThreeFiberDemos
> cross-env NODE_ENV=development webpack-dev-server --host 0.0.0.0 --config config/webpack.dev.js
internal/modules/cjs/loader.js:818
throw err;
^
Error: Cannot find module 'webpack-cli/bin/config-yargs'
Require stack:
- /Users/julestestard/go/src/github.com/piepacker/WebAR.rocks.face/reactThreeFiberDemos/node_modules/webpack-dev-server/bin/webpack-dev-server.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
at Function.Module._load (internal/modules/cjs/loader.js:667:27)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/Users/julestestard/go/src/github.com/piepacker/WebAR.rocks.face/reactThreeFiberDemos/node_modules/webpack-dev-server/bin/webpack-dev-server.js:65:1)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/julestestard/go/src/github.com/piepacker/WebAR.rocks.face/reactThreeFiberDemos/node_modules/webpack-dev-server/bin/webpack-dev-server.js'
]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! webar.rocks.face_demos@1.0.0 start: `cross-env NODE_ENV=development webpack-dev-server --host 0.0.0.0 --config config/webpack.dev.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the webar.rocks.face_demos@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! /Users/julestestard/.npm/_logs/2021-03-10T07_52_35_848Z-debug.log
Without this change we get this error: