Open JCEdward opened 1 month ago
Same here. if you switch to npm, it should work.
Same here. if you switch to npm, it should work.
yes. i tried npm and it works fine, also i tried yarn on ubuntu. everything works fine
I don't know what it is, but one of our teammate make it work. This is kinda weird.
Trying to create NX workspace v19.5.7 on Ubuntu from within VSCode Powershell terminal.
Command: npx create-nx-workspace --pm pnpm --verbose Options: Angular Integrated webpack scss SSR - yes playwright skip skip
Successfully completes 'Installed dependencies with pnpm' then fails creating workspace. No error displayed even using --verbose
When run in a normal Ubuntu terminal window - works fine.
we used Windows
I am experiencing something similar with Mac
Current Behavior
Create work space with yarn npx create-nx-workspace test-nx-expo --pm yarn
Expected Behavior
I should be creating an Nx workspace successfully.
GitHub Repo
No response
Steps to Reproduce
run yarn create nx-workspace --verbose
Nx Report
Failure Logs
Package Manager Version
yarn 4.3.1
Operating System
Additional Information
NX spawnSync C:\Windows\system32\cmd.exe ENOENT
Error: spawnSync C:\Windows\system32\cmd.exe ENOENT at Object.spawnSync (node:internal/child_process:1124:20) at spawnSync (node:child_process:876:24) at execSync (node:child_process:957:15) at C:\Users\chien\AppData\Local\Temp\tmp-8876-UP6RO6Te6NWk\node_modules\@nx\workspace\src\generators\new\new.js:19:46 at C:\Users\chien\AppData\Local\Temp\tmp-8876-UP6RO6Te6NWk\node_modules\nx\src\command-line\new\new.js:26:19 at async handleErrors (C:\Users\chien\AppData\Local\Temp\tmp-8876-UP6RO6Te6NWk\node_modules\nx\src\utils\params.js:22:24) at async Object.handler (C:\Users\chien\AppData\Local\Temp\tmp-8876-UP6RO6Te6NWk\node_modules\nx\src\command-line\new\command-object.js:10:22)