-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Angular 13 and Nx 13 issue #170
Comments
I get the same error using an existing Angular 13 project and was also able to reproduce by creating a new project with I created a simple example which shows the issue in action: https://github.com/gearsdigital/compilation-argument-error Additonal Infos:
|
I'ld love to dig deeper here but not sure where to start. Is it possible that the different webpack versions are causing the issue here? Angular itself is using What is interesting is that
I also tried to update angular to 13.3.5. But didn't work either...
|
Hey @logitimate, I just tested with a fresh Nx workspace and it works:
I think your issue is due to a conflict between different webpack versions as mentioned @gearsdigital, you can try to force the package resolution: // package.json
{
"resolutions": {
"webpack": "5.72.1"
}
} If it does not resolve could you provide a reproduction so I can investigate? |
Our team just tried this out and it seems to be working! Thank you guys so much. |
When starting a fresh project with nx 13 and angular 13 I'm getting this error
The following error was thrown by a plugin. We stopped running your tests because a plugin crashed. Please check your plugins file (
/Users/loganlivingston/upgrades/storybook-test/apps/storybook-test/cypress/plugins/index.ts
)TypeError: The 'compilation' argument must be an instance of Compilation
at Function.getCompilationHooks (/Users/loganlivingston/upgrades/storybook-test/node_modules/@jscutlery/cypress-angular-dev-server/node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js:141:10)
The text was updated successfully, but these errors were encountered: