-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
LoadPluginError: Could not load plugin #23435
Comments
experiencing the same but with the applicationGenerator from '@nx/next' on v18.3.4 |
I'm experiencing the same problem. Tests work on MacOS but not on our Linux CI. It happens when I call the |
I have a similar issue with a Jest test also using the I also tried to copy paste the test in this issue and run the test, and it fails on my mac running Sonoma 14.4.1 |
I got my test to run by following a workaround from mswjs/msw#1851
Not quite sure why it works, but my test runs again with this 'fix'. |
I'm having the same issue when wrapping the service schematic from @schematics/angular, and executing that. Although, when running locally (MacOS) I get this error
but on CI I get the same as OP. |
Current Behavior
When using the
libraryGenerator()
method from@nx/angular/generators
inside a (Jest) test, it will fail.Example:
The test will fail with the following error message:
Important:
This error only happens on Linux operating system. The same test passes on a MacOS operating system.
Expected Behavior
The test should run successfully on every operating system.
GitHub Repo
https://github.com/decline/nx-plugin-issue
Steps to Reproduce
docker compose up
Info:
Starting the docker container will execute the
nx run my-plugin:test
command which will fail the test. If you run thenx run my-plugin:test
command on a MacOS system, it will pass!Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: