-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels