Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NX-npm] requires project graph, which cannot be found #555

Open
EelcoLos opened this issue Dec 1, 2023 · 1 comment
Open

[NX-npm] requires project graph, which cannot be found #555

EelcoLos opened this issue Dec 1, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@EelcoLos
Copy link

EelcoLos commented Dec 1, 2023

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 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)
@EelcoLos EelcoLos added the bug Something isn't working label Dec 1, 2023
@evilhamsterman
Copy link

This project is not associated with the devcontainer project and appears to have been abandoned #628 . The official project has removed all devcontainer-contrib features from their listing. devcontainers/devcontainers.github.io#451. There is a fork that is being worked on to update and maintain the features https://github.com/devcontainers-extra/features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants