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

06 Webpack Config Reload sample doesnt't compile or run #203

Closed
lagp opened this issue Dec 5, 2018 · 0 comments · Fixed by #204
Closed

06 Webpack Config Reload sample doesnt't compile or run #203

lagp opened this issue Dec 5, 2018 · 0 comments · Fixed by #204

Comments

@lagp
Copy link
Contributor

lagp commented Dec 5, 2018

An error is produced when you try to execute npm start or npm run build.

npm start

> webpack-config-reload@1.0.0 start C:\Users\lgarcia\Documents\Proyectos\practicas\webpack-by-sample\version 4\05 Misc\00 Webpack Config Reload
> nodemon --watch webpack.config.js --exec "webpack-dev-server --mode development"

[nodemon] 1.18.7
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: webpack.config.js
[nodemon] starting `webpack-dev-server --mode development`
C:\Users\lgarcia\Documents\Proyectos\practicas\webpack-by-sample\version 4\05 Misc\00 Webpack Config Reload\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:\Users\lgarcia\Documents\Proyectos\practicas\webpack-by-sample\version 4\05 Misc\00 Webpack Config Reload\node_modules\webpack-cli\bin\config-yargs.js:89:48)
    at Object.<anonymous> (C:\Users\lgarcia\Documents\Proyectos\practicas\webpack-by-sample\version 4\05 Misc\00 Webpack Config Reload\node_modules\webpack-dev-server\bin\webpack-dev-server.js:84:40)
    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)
[nodemon] app crashed - waiting for file changes before starting...
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

Successfully merging a pull request may close this issue.

1 participant