Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

webpack-dev-server could not start #144

Closed
Formedras opened this issue Sep 29, 2018 · 1 comment
Closed

webpack-dev-server could not start #144

Formedras opened this issue Sep 29, 2018 · 1 comment

Comments

@Formedras
Copy link

Steps to Reproduce

Create a new project. Look at the console. Webpack server fails to start.

Error

S:\SourceCode\Mixer\alttp-formedras-html-research1\node_modules\webpack-cli\bin\config-yargs.js:89
describe: optionsSchema.definitions.output.properties.path.description,
^

TypeError: Cannot read p...

Editor Details

Version: 1.0.2
Mixer User ID: 795142

Encrypted Editor State: {"id":"f3bd513d46207be8","password":"3B3e2jttFdiT2p5nOH8MzT4dFbygQ4J9JM9Iz8sn2Is="}

@connor4312
Copy link
Contributor

Thanks for opening an issue, and sorry for the delayed response! It looks like a breaking change was made on a minor version in webpack (webpack/webpack#8082) which caused the quick start templates to fail. You can either:

  • Re-create your project using the "new project" wizard -- we've updated the starter templates.
  • Update the version manually in an existing project:
    1. Edit your package.json. Replace the line containing "webpack-cli": with "webpack-cli": "^3.1.2",
    2. Either delete the node_modules folder in your project, or run npm install
    3. Restart the CDK if it's open.

Please let us know if you run into any more problems 🙂

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

No branches or pull requests

2 participants