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
Local plugins not detected when using workspace.json #12451
Comments
I'm also seeing an issue with 14.8.3 and local plugins. Slightly different to above (initially). I'm using a plugin to extend the dep graph for go projects. It was working perfectly with the previous version but now I'm getting the following error when trying to run > NX unable to find tsconfig.base.json or tsconfig.json nx/packages/nx/src/utils/nx-plugin.ts Lines 233 to 245 in 9b63ce1
The latest version appears to be searching for tsconfig files in every project. However, I have go projects that do not have a tsconfig in it's project root. I don't really want to add one either. If I do add a tsonfig.json to all my go projects I go from getting that error to the same as the OP: > NX Cannot find module '@libs/nx-go'
Require stack:
- /home/lewsmith/Workspace/Personal/project-x/node_modules/nx/src/utils/nx-plugin.js
- /home/lewsmith/Workspace/Personal/project-x/node_modules/nx/src/config/workspaces.js
- /home/lewsmith/Workspace/Personal/project-x/node_modules/nx/src/config/configuration.js
- /home/lewsmith/Workspace/Personal/project-x/node_modules/nx/src/daemon/server/project-graph-incremental-recomputation.js
- /home/lewsmith/Workspace/Personal/project-x/node_modules/nx/src/daemon/server/server.js
- /home/lewsmith/Workspace/Personal/project-x/node_modules/nx/src/daemon/server/start.js For now I will roll back to the previous version. Environment
|
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
When using the latest version of NX (14.8.3 as of this issue creation) commands fail as NX cannot resolve the location of a local nx-plugin if a
workspace.json
file is used in the project.Expected Behavior
NX should be able to resolve the location of the local nx-plugin.
Steps to Reproduce
Example PR
@nrwl/nx-plugin
)nx.json
add the local nx-plugin to theplugins
field.workspace.json
at the root of the project{ "version": 2, "projects: [] }
nx run <appName>:build
Failure Logs
Log from example pull request in
nx-examples
repo.Environment
The text was updated successfully, but these errors were encountered: