You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I run nx generate from the Nx Console, I get an error: The terminal process "/bin/zsh '-l', '-c', 'npx nx generate @nx/angular:library [lib-name] --no-interactive --dry-run'" failed to launch (exit code: 1).
Executing task in folder angular-monorepo: npx nx generate @nx/angular:library feature-sol --no-interactive --dry-run
/Users/chriscurnow/.nvm/versions/node/v18.17.0/lib/node_modules/npm/node_modules/@npmcli/config/lib/index.js:193
#get (key, where = null) {
^
SyntaxError: Unexpected token '('
at Module._compile (internal/modules/cjs/loader.js:892:18)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
at Module.load (internal/modules/cjs/loader.js:812:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Module.require (internal/modules/cjs/loader.js:849:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/Users/chriscurnow/.nvm/versions/node/v18.17.0/lib/node_modules/npm/lib/utils/config/definition.js:33:5)
at Module._compile (internal/modules/cjs/loader.js:956:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
at Module.load (internal/modules/cjs/loader.js:812:32)
* The terminal process "/bin/zsh '-l', '-c', 'npx nx generate @nx/angular:library feature-sol --no-interactive --dry-run'" failed to launch (exit code: 1).
* Terminal will be reused by tasks, press any key to close it.
Package Manager Version
No response
Operating System
macOS
Linux
Windows
Other (Please specify)
Additional Information
This has been happening for a while.
It is only today I got around to testing it with a brand new angular monorepo and creating a GitHub repo for it.
I did try searching existing issues but couldn't find anything.
The text was updated successfully, but these errors were encountered:
Current Behavior
If I run
nx generate
from the Nx Console, I get an error:The terminal process "/bin/zsh '-l', '-c', 'npx nx generate @nx/angular:library [lib-name] --no-interactive --dry-run'" failed to launch (exit code: 1).
Expected Behavior
It should run the generator
GitHub Repo
https://github.com/4Cast/nx-generate-error
Steps to Reproduce
generate
@nx/angular - library
NOTE:
If I type
nx generate ...
from the command line, it works.Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
This has been happening for a while.
It is only today I got around to testing it with a brand new angular monorepo and creating a GitHub repo for it.
I did try searching existing issues but couldn't find anything.
The text was updated successfully, but these errors were encountered: