Closed
Description
Current Behavior
Create react standalone app
node version : 18 (using nvm)
I am creating this in D drive of my computer (in C drive its working properly)
npx create-nx-workspace@latest myreactapp --preset=react-standalone --packageManager=yarn
This command results into the following :
- Which bundler would you like to use? => Vite
- Test runner to use for end to end (E2E) tests => None
- Default stylesheet format => SASS
- Do you want Nx Cloud to make your CI fast? => Skip for now
- Installing dependencies with yarn
- Creating your workspace in myreactapp ( not completed )
NX Failed to create a workspace.
Error: error Command failed with exit code 1.
Expected Behavior
After running command and selecting all the options workspace should be created successfully.
GitHub Repo
No response
Steps to Reproduce
- Go to any drive of your computer (Other than C Drive).
- open terminal and select node version
nvm use 18
- run the command
npx create-nx-workspace@latest myreactapp --preset=react-standalone --packageManager=yarn
- It will result into Error.
Nx Report
NX Failed to create a workspace.
Error: error Command failed with exit code 1.
Failure Logs
There is no logs created for this, I have tried to access error logs but it's not creating any error logs.
Package Manager Version
yarn - 1.22.19
Operating System
- macOS
- Linux
- Windows
- Other (Please specify)
Additional Information
- when creating workspace using older version (eg. 16) instead of @latest then it's working properly.
- While using package manager as npm its working properly.