Closed moatorres closed 1 year ago
Hi, your repo isn't viewable. Could you make it public?
Hi, your repo isn't viewable. Could you make it public?
I could, but not now. I'll try to fix it and come back as soon as I find the culprit.
Can't repro at the moment.
I'm getting the same error when using nx > 16.1.4. Did you do anything to solve it? @moatorres
EDIT: Fixed, had a parallel: 6
config under nx-cloud in nx.json
That didn't work for me, unfortunately. I have no clue why is that and the error logs are as cryptic as it gets. It all happened after executing the suggested migration that changes packages from nrlw/ to nx/. Absolute nightmare. Even VSCode's extension, by far one of the greatest features of nx, got buggy. Ended up giving up and recreating the monorepo from scratch (200+ packages). Lovely. Nx works great, but it can get in the way occasionally.
Yeah, I spent ages trying to figure it out also. Then I created a new nx next monorepo and started to copy over the config files one by one and accidentally found out that the culprit was that config variable.
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
Hello! I'm having an issue while trying to run any NX scripts/commands after running migrations. Please see the reports and logs below.
After some research I've got hints that it could be related to Node and NPM mismatches, but that's been ruled out after ensuring compatibility through
nvm
.Interestingly,
nx report
incorrectly includes libraries as workspace plugins but existing workspace plugins are correctly listed when runningnx generate
from both terminal and IDE.I'm not 100% sure that this is an issue on NX side. Already cleaned caches, did reset and reinstalled all deps (removed node_modules). Sharing here so maybe someone can shed light on the subject.
Expected Behavior
Expected to run commands such as "nx build ..." or "nx run ..." without errors.
GitHub Repo
https://github.com/moatorres/trunk
Steps to Reproduce
I'm happy to provide more info so it can be reproducible, but I'll need some help to understand what to actually add to the reproduction since it's not exactly a small project.
Nx Report
Failure Logs
Operating System
Additional Information
Running files/scripts with
node trunk/apps/example/src/main.ts
or running distribution (node dist/etc/main.js
) files do not present any errors. I'm currently unable to run any script (serve, build, test, etc) through nx (nx run project:build
ornx serve project-x
).nx graph
works as expected though.