-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
[swc-angular] Nx Monorepo with Angular app: failed to invoke @jscutlery/swc-plugin-angular
(RuntimeError: out of bounds memory access)
#404
Comments
@jscutlery/swc-plugin-angular
as js transform plugin@jscutlery/swc-plugin-angular
(RuntimeError: out of bounds memory access)
Hi @felikf, which version of Also, it seems that you have old versions of our packages, you should only have |
Hi @edbzn, "@swc/cli": "~0.1.62",
"@swc/core": "~1.3.85", I will try to reinstall the required dependencies and let you know if that helped. |
Yeah bump @swc/core to v1.5.x it should fix your issue |
OK, I started from scratch:
Downgraded @core/swc to 1.4.x
Then i tried copy the dependencies from here
The command from the top of the page installed these (which is kind of strange swc-plugin-angular vs swc-angular-plugin):
|
Is it possible to set up the |
We renamed the libs so you should only install:
And you can import the configuration like so:
See the install guide for reference.
Not really, Nx works like that, the global config is generic and not tied to a specific framework. However, we planned to create a generator to configure it for you. |
I have an NX monorepo and I have tried to test
swc-angular
for one of NX library insidenx-repo/libs/lib-with-slow-tests
I run:
and
Both of them results in:
Error:
What I did:
Install:
Modified one library configuration:
nx-repo/libs/lib-with-slow-tests/jest.config.ts
inside the project:Modified test-setup.ts in the library
nx-repo/libs/lib-with-slow-tests/src/test-setup.ts
:Versions:
The text was updated successfully, but these errors were encountered: