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 #143

Closed
clarkjpeter opened this issue Sep 25, 2018 · 1 comment
Closed

webpack-dev-server could not start #143

clarkjpeter opened this issue Sep 25, 2018 · 1 comment

Comments

@clarkjpeter
Copy link

Steps to Reproduce

Installed Node.js 8.12.0, downloaded Control Development Kit 1.0.2 and created a new Preact project.

I haven't touched any code however I am getting this following compile error.

Error

D:\Mixer-Custom-Controls\test-interaction-demo\node_modules\webpack-cli\bin\config-yargs.js:89
describe: optionsSchema.definitions.output.properties.path.description,
^

TypeError: Cannot read prope...

Editor Details

Version: 1.0.2
Mixer User ID: 58926363

Encrypted Editor State: {"id":"49698c6fd79f00da","password":"tla/rTtimHdu4tC0D+2M5JUUMJHhPMwlCfxf2XyUjFU="}

@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