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

webpack@5.0.0-alpha.20 & webpack-cli - TypeError: Cannot read property 'length' of undefined #1023 #9591

Closed
ryanspice opened this issue Aug 18, 2019 · 1 comment

Comments

@ryanspice
Copy link

Bug report

When using webpack-cli with the latest version of webpack i get the following issue: webpack/webpack-cli#102

Seems it seems like validateschemea.js on webpack@5.0.0-alpha.20 doesnt have a return which is causing the issue, not sure if that is expected?

Fixing in my node modules aloud for a compile.

What is the current behavior?

Fails to compile with specified config file.
We see webpackConfigurationValidationErrors is returning undefined.

If the current behavior is a bug, please provide the steps to reproduce.

New webpack@5.0.0-alpha.20, webpack-cli latest, run with empty webpack.config.

Other relevant information:
webpack version: webpack@5.0.0-alpha.20
webpack-cli version: webpack@5.0.0-alpha.20
Node.js version: 3.3.7
Operating System: windows 10 bash

@ryanspice ryanspice changed the title webpack-cli :: TypeError: Cannot read property 'length' of undefined #1023 webpack@5.0.0-alpha.20 & webpack-cli - TypeError: Cannot read property 'length' of undefined #1023 Aug 18, 2019
@sokra
Copy link
Member

sokra commented Aug 19, 2019

see webpack/webpack-cli#1023

@sokra sokra closed this as completed Aug 19, 2019
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

2 participants