When following the guide in README when I came to the command npm run serve it failed with a message:
Could not find 'nx' module in this workspace. Error: [readCachedProjectGraph] ERROR: No cached ProjectGraph is available.
If you are leveraging \`readCachedProjectGraph()\` directly then you will need to refactor your usage to first ensure that
the ProjectGraph is created by calling \`await createProjectGraphAsync()\` somewhere before attempting to read the data.
If you encounter this error as part of running standard \`nx\` commands then please open an issue on https://github.com/nrwl/nx
And by looking at createProjectGraphAsync() I found a description leading me to add the NX_DAEMON=false settings.
It is apparently only needed one time.
When following the guide in README when I came to the command
npm run serveit failed with a message:And by looking at
createProjectGraphAsync()I found a description leading me to add theNX_DAEMON=falsesettings.It is apparently only needed one time.