You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ./node_modules/webpack/bin/webpack.js
/home/adardinier/workspace/Test/pdf.js/examples/webpack/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 (/home/adardinier/workspace/Test/pdf.js/examples/webpack/node_modules/webpack-cli/bin/config-yargs.js:89:48)
at /home/adardinier/workspace/Test/pdf.js/examples/webpack/node_modules/webpack-cli/bin/webpack.js:60:27
at Object.<anonymous> (/home/adardinier/workspace/Test/pdf.js/examples/webpack/node_modules/webpack-cli/bin/webpack.js:515:3)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
Envisaged solution :
This error comes from Webpack version. As we can see here, the problem can be solved by updating the package.json versions in the webpack example like this :
"webpack": "^4.20.2",
"webpack-cli": "^3.1.1",
I tried to change the versions in the package.json and to re-install all the stuff and it worked.
The text was updated successfully, but these errors were encountered:
Configuration:
Steps to reproduce the problem:
What is the expected behavior?
Webpack should bundle files.
What went wrong?
Webpack throw an error :
Envisaged solution :
This error comes from Webpack version. As we can see here, the problem can be solved by updating the package.json versions in the webpack example like this :
I tried to change the versions in the package.json and to re-install all the stuff and it worked.
The text was updated successfully, but these errors were encountered: