webpack-dev-server -mode = development
path.js:28
throw new TypeError('Path must be a string. Received ' + inspect(path));
^
TypeError: Path must be a string. Received true
at assertPath (path.js:28:11)
at Object.isAbsolute (path.js:1225:5)
at module.exports (/Users/1024309/Codebase/react-app/casaone-test/node_modules/webpack-cli/bin/utils/convert-argv.js:34:13)
at Object.<anonymous> (/Users/1024309/Codebase/react-app/casaone-test/node_modules/webpack-dev-server/bin/webpack-dev-server.js:84:40)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Function.Module.runMain (module.js:694:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! casaone-test@1.0.0 dev-build: `webpack-dev-server -mode=development`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the casaone-test@1.0.0 dev-build 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/1024309/.npm/_logs/2019-09-20T10_15_49_268Z-debug.log
I'm using the below version of Node and NPM.
Node -v : v8.12.0
NPM -v : 6.4.1
Пожалуйста, предложите исправить это.