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

error in webpack5 "Invalid configuration object." #99

Open
xuych opened this issue Jun 20, 2022 · 0 comments
Open

error in webpack5 "Invalid configuration object." #99

xuych opened this issue Jun 20, 2022 · 0 comments

Comments

@xuych
Copy link

xuych commented Jun 20, 2022

[webpack-cli] Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.

  • configuration.plugins[1] misses the property 'apply'. Should be:
    function
    -> The run point of the plugin, required method.

"webpack": "^5.70.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.9.0",
"webpack-merge": "^5.8.0"
"craco-antd": "^2.0.0",
colud this be fixed? Thanks any way.

@xuych xuych changed the title error error in webpack5 "Invalid configuration object." Jun 20, 2022
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

1 participant