Closed mikelgo closed 4 years ago
Have you tried with an empty workspace preset?
@iorran I tried several things. I tried npx create-nx-workspace
and then choosing the empty
option as well as npx create-nx-workspace --preset=empty
.
I also tried non empty presets - all with the same result
@mikelgo have you tried to clean your cache? npm/yarn
@iorran yes, I also ran npm cache clean
and npm cache verify
.
I also re-installed my global nx
package
Hi there @mikelgo ! Unfortunately, I could not reproduce your issue. I tried it on Windows 10 cmd
with the same setup and versions as yours:
I could create both an empty workspace, and one with a default Angular app without an issue:
Off the top of my head, maybe there's an issue with your Node installation. I understand that you have already tried cleaning your cache and you have the latest version, but just to be sure, I would still try to remove and reinstall node (here are some good instructions on how to do so: https://stackoverflow.com/questions/20711240/how-to-completely-remove-node-js-from-windows).
If everything fails again, please let me know!
Thanks again! :)
Hey @mandarini :) Thank you very much for your effort to reproduce my issue. Sorry that you can not reproduce it (or in the end it is good because nothing needs to be fixed :-P).
Your tip with reinstalling node did the job! I just re-installed node according to the guide provided in the link and it worked! Now I'm again able to create nx-workspaces.
I re-installed node before as well, but I guess somehow I missed there a part to completely remove it and therefore it didn`t work.
Yey!! I'm so happy it worked and you can use Nx normally now!! :D
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
npx create-nx-workspace@latest
/npx create-nx-workspace
fail using both cmd and powershell on Windows 10.Expected Behavior
It should create a new nx-workspace
Failure Logs
Environment
Windows 10 NodeJs v. 12.18.3-LTS npm and npx both 6.14.7 powershell v 5.1 build 18362