Codespace automatically detects Node.js then runs npm install in the wrong directory #75872
Unanswered
oodavid
asked this question in
Codespaces
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Bug
Body
When starting a codespace, I see
npm install
automatically run. However it fails (you can see the red cross):I'm led to think this command is running in
/workspaces
rather than/workspaces/repo-name
as there's been a couple of times when I've ended up in the parent directory after this. Not sure why, nor can I replicate.I did find this semi-related thread:
https://github.com/orgs/community/discussions/26378
I'm confident that
npm install
is running in the wrong directory as it's always fine when I run it after this screen.Beta Was this translation helpful? Give feedback.
All reactions