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: Schema validation failed in CustomWebpack config #1893

Open
Prakash-Balu opened this issue Jan 4, 2025 · 0 comments
Open

Error: Schema validation failed in CustomWebpack config #1893

Prakash-Balu opened this issue Jan 4, 2025 · 0 comments

Comments

@Prakash-Balu
Copy link

Schema validation failed in CustomWebpack config

Error: Schema validation failed with the following errors:
Data path "" must NOT have additional properties(customWebpackConfig).

I will add below properties in angular.json under build and serve properties options category but it's not able to serve the angular application above error came. Kindly check and resolve ASAP or any solution has there then provided me.

"customWebpackConfig": {
"path": "./webpack.config.js"
}

Minimal Reproduction

Note: Our policy is that issues reported without a reproduction will be closed immediately and then reopened once a reproduction has been provided. Please respect the developers of this project by doing this. We give of our personal time to work on this project and would rather be spending our time fixing or enhancing the library than chasing down badly described or unreproducible issues.
Please delete this note once you have read it.

Expected Behavior

A clear and concise description of what you expected to happen.

Screenshots

image

Environment


Libs
- @angular/core version: ^18.2.12
- @angular-devkit/build-angular version: ^18.2.12
- @angular-builders/custom-webpack version: ^18.0.0

For Tooling issues:
- Node version: v20.18.0
- Platform:  Windows 11 Pro x64 24H2 version

Others:

Additional Context

Add any other context about the problem here.

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