-
-
Notifications
You must be signed in to change notification settings - Fork 78
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 with Angular 17.3.2 and Node.js 20.10.0 - Schema validation failed with the following #507
Comments
@leogouveia May this help you as well |
@utsav-mehta-ext-volansys Yesterday I did some tests by fiddling with the properties of the angular.json file and ended up discovering this too. |
I too had encountered the same issue a week back and had to remove the |
https://github.com/just-jeb/angular-builders/issues/1595 Saw the above issue and I'm not sure what needs to be done here. Can you suggest a proper solution for this issue @arturovt? |
The This requires a full rewrite of the Webpack configuration to align with the ESBuild setup. However, the issue lies in the fact that ESbuild doesn't encompass all the features outlined in the single-spa-angular Webpack configuration transformer. |
@arturovt Sorry if I am entirely wrong. But it seems that normal setup with custom-webpack "disables" esbuild completely. So if you add single-spa-angular and remove |
You will not be able to use ESBuild because they don't support all of the required single-spa features (like SystemJS output evanw/esbuild#192). |
@arturovt This is my understanding. When creating a new Angular v17 app, Currently |
@iamajmalhassan I agree, or at least update the docs explaining about the "bug" and how to work around it. I racked my brains for hours until I understood what was happening and found a solution. |
I made a PR to the docs stating that builder should be set to |
I'm currently working on a project using Angular 17.3.2 and Node.js 20.10.0, but I've encountered an error.
Despite thorough research and verifying that angular.json includes @angular-builders/custom-webpack:browser as specified, the issue persists.
This setup was configured using ng add, following the official documentation guidelines.
Could anyone help me with this problem?
You can review my code at https://github.com/leogouveia/sspa2-navbar. This error occurs both on my local machine and in GitHub Codespaces.
Any assistance would be greatly appreciated.
Demonstration
ng new sspa2-navbar
ng add single-spa-angular --project sspa2-navbar
npm run serve:single-spa:sspa2-navbar
Expected Behavior
Application should start in development
Actual Behavior
Application crashes with message:
The text was updated successfully, but these errors were encountered: