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

Invalid configuration object #48

Closed
kyma opened this issue Oct 25, 2016 · 2 comments
Closed

Invalid configuration object #48

kyma opened this issue Oct 25, 2016 · 2 comments

Comments

@kyma
Copy link

kyma commented Oct 25, 2016

Just tried to run this today. Getting the following error:
WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.

  • configuration has an unknown property 'debug'. These properties are valid:
    object { amd?, bail?, cache?, context?, dependencies?, devServer?, devtool?, entry, externals?, loader?, module?, name?, node?, output?, plugins?, profile?, recordsInputPath?, recordsOutputPath?, recordsPath?, resolve?, resolveLoader?, stats?, target?, watch?, watchOptions? }
    The 'debug' property was removed in webpack 2.
    Loaders should be updated to allow passing this option via loader options in module.rules.
    Until loaders are updated one can use the LoaderOptionsPlugin to switch loaders into debug mode:
    plugins: {
    new webpack.LoaderOptionsPlugin({
    debug: true
    })
    }
    • configuration.module has an unknown property 'preLoaders'. These properties are valid:
      object { exprContextCritical?, exprContextRecursive?, exprContextRegExp?, exprContextRequest?, loaders?, noParse?, rules?, unknownContextCritical?, unknownContextRecursive?, unknownContextRegExp?, unknownContextRequest?, wrappedContextCritical?, wrappedContextRecursive?, wrappedContextRegExp? }
      Options affecting the normal modules (NormalModuleFactory).
    • configuration.resolve.extensions[0] should not be empty.
@bairisuresh
Copy link

same issue for me also

@stylesuxx
Copy link
Owner

This is a problem with the webpack beta, please see #46 on a temporary solution.

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

3 participants