In my combined dotnet and angular container, I wanted to try and start a nx serve action, which triggered this error
Relevant log output
ERROR (1) when writing
ENOENT: no such file or directory, open '/workspaces/DigitaalMeten/.nx/cache/project-graph.json~1f86e734'
at writeFileSync (node:fs:2352:20)
at writeJsonFile (/workspaces/DigitaalMeten/node_modules/nx/src/utils/fileutils.js:55:28)
at writeCache (/workspaces/DigitaalMeten/node_modules/nx/src/project-graph/nx-deps-cache.js:101:43)
at buildProjectGraphUsingProjectFileMap (/workspaces/DigitaalMeten/node_modules/nx/src/project-graph/build-project-graph.js:65:40)
at async buildProjectGraphWithoutDaemon (/workspaces/DigitaalMeten/node_modules/nx/src/project-graph/project-graph.js:72:27)
at async createProjectGraphAsync (/workspaces/DigitaalMeten/node_modules/nx/src/project-graph/project-graph.js:121:25)
at async Object.runOne (/workspaces/DigitaalMeten/node_modules/nx/src/command-line/run/run-one.js:21:26)
Feature id and version
ghcr.io/devcontainers-contrib/features/nx-npm:1
Devcontainer base Image
mcr.microsoft.com/devcontainers/dotnet:1.1.0-8.0
What happened?
In my combined
dotnet
andangular
container, I wanted to try and start anx serve
action, which triggered this errorRelevant log output