Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run dev is broken #3

Open
flaminisx opened this issue Oct 13, 2019 · 3 comments
Open

npm run dev is broken #3

flaminisx opened this issue Oct 13, 2019 · 3 comments

Comments

@flaminisx
Copy link

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:

  1. clone repository
  2. npm i
  3. npm run dev
@xiejun
Copy link

xiejun commented Oct 17, 2019

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:

  1. clone repository
  2. npm i
  3. npm run dev

migrating to latest version solved the error for me: [email protected]
webpack/webpack-cli#607

@ha23r
Copy link

ha23r commented Apr 13, 2020

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. (C:\dev\temp\rsuite-management-system-master\node_modules\webpack-dev-server\bin\webpack-dev-server.js:65:25)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
at startup (internal/bootstrap/node.js:285:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: webpack-dev-server --mode development --progress --hot
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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?

@simonguo
Copy link
Member

webpack and rsuite have been upgraded to the latest version, try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants