Open flaminisx opened 5 years ago
I tried to run
npm run dev
and got an error:rsuite-management-system/node_modules/webpack-cli/bin/config-yargs.js:89 describe: optionsSchema.definitions.output.properties.path.description, ^ TypeError: Cannot read property 'properties' of undefined
steps to reproduce:
- clone repository
npm i
npm run dev
migrating to latest version solved the error for me: webpack-cli@3.1.1 https://github.com/webpack/webpack-cli/issues/607
npm run still fails
webpack-dev-server --mode development --progress --hot
C:\dev\temp\rsuite-management-system-master\node_modules\webpack-cli\bin\config-yargs.js:89 describe: optionsSchema.definitions.output.properties.path.description, ^
TypeError: Cannot read property 'properties' of undefined
at module.exports (C:\dev\temp\rsuite-management-system-master\node_modules\webpack-cli\bin\config-yargs.js:89:48)
at Object.webpack-dev-server --mode development --progress --hot
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the rsuite-management-system@1.0.0 dev 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! C:\Users\hemia\AppData\Roaming\npm-cache_logs\2020-04-13T18_18_05_642Z-debug.log
any solution?
webpack and rsuite have been upgraded to the latest version, try again.
I tried to run
npm run dev
and got an error:steps to reproduce:
npm i
npm run dev