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

Angular 11 #132

Open
ttimmy opened this issue Oct 31, 2021 · 0 comments
Open

Angular 11 #132

ttimmy opened this issue Oct 31, 2021 · 0 comments

Comments

@ttimmy
Copy link

ttimmy commented Oct 31, 2021

Hi Anton,
Awesome work. I'm really excited to try it in my Angular project, but can't get it to work.

Reproduce:

Node 14 (nvm use 14)
Angular-cli 11 (npm install -g @angular/cli@11)

https://github.com/ttimmy/ng11-rewiremock

First attempt (naive), simply try to .proxy , got error:
Error: Uncaught Error: Rewiremock: there is no "parent module". Is there two HotModuleReplacementPlugins?
git checkout cd29be60181046cebdf0f0876d40662375871f3b
ng test

Second attempt, try to use custom webpack config for karma build. Got:
WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
git checkout b18c23a4678e78629bebcd047f6125268131d1dd
ng test

Thanks
JC

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