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
This tutorial series has been very obnoxious. First, on step) this command fails: npx create-nx-workspace@latest
Error:
NX Nx failed to install dependencies
Exit code: 1
After googling, I found this so article which mentions NX Repo path having spaces in it (did not apply) and a recommendation to use this command instead to install an earlier version: npx create-nx-workspace@13.9.3
After successfully installing this earlier version, I ran into another issue trying to run npx nx serve blog - Error: Cannot find project 'blog' which lead me to this issue which explains the workspace.json file is used to configure project paths (the tutorial mentions nothing about this).
Then on step 2 I'm again blocked when trying to run npx nx serve cli - Error: Could not find project "cli"
I realize this bug was fixed in 14.0.4, but step 1 forced me to use an earlier version. the suggested npx nx reset command doesn't seem to fix the issue.
Documentation issue
Is there a specific documentation page you are reporting?
https://nx.dev/core-tutorial/02-create-cli
Additional context or description
I followed the tutorial, and it keep saying Cannot find project 'cli'
Turns out I have to run
nx reset
to get it works. Wasted an hour figuring this out.The text was updated successfully, but these errors were encountered: