All Nx cli commands fail on 13.9
See original GitHub issueCurrent Behavior
All NX cli commands fail for me with no output, even --help
.
Expected Behavior
Nx cli commands should work - at least --help
should.
This started to happen since yesterday, giving me the hint that this might be a regression in 13.9
Steps to Reproduce
I already had a monorepo - so I ran this command according to docs:
npx add-nx-to-monorepo
I’ve done this multiple times, after switching to a clean branch and clearing node_modules
, and running npm install
.
When I pin the @nrwl/*
versions to 13.8
, it works fine.
Failure Logs
Nx commands return nothing except a non-zero return code. Stdout / stderr is completely empty, even for npx nx
Environment
Node : 14.17.5 OS : darwin x64 npm : 6.14.14
The following version gives me this error:
"@nrwl/cli": "latest",
"@nrwl/tao": "latest",
"@nrwl/workspace": "latest",
Issue Analytics
- State:
- Created 2 years ago
- Reactions:7
- Comments:20 (4 by maintainers)
Top Results From Across the Web
Why am i getting error on using any `nx` commands
Just had this issue myself. Fixed it by deleting all my node_modules, verifying npm cache, updating my global @nrwl-cli, and reinstalling.
Read more >nx cannot read properties of undefined (reading 'endswith')
I have nx 14.4.3 version in my system. And when I run nx serve it gives me the error :- TypeError: Cannot read...
Read more >"File System and OS" Error in Jetpack 4.5.1 Linux for Jetson ...
Hello, I am writing to inquire about an installation error I have ... please share the whole command line and error messages for...
Read more >Debugging with GDB - sourceware.org
Exit with nonzero status if an error occurs in executing the GDB commands in the ... being loaded using the ' -nx '...
Read more >@nrwl/linter - NPM Package Overview - Socket
The Linter plugin for Nx contains executors, generators and utilities used for linting JavaScript/TypeScript projects within an Nx workspace.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Although the actual issue you’re reporting might not be fixed in
13.9.1
, as I’m now getting:manual updated
@nrwl/cli
to version13.9.4
solved it for me.npm i @nrwl/cli@13.9.4 -D