-
Notifications
You must be signed in to change notification settings - Fork 316
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
Dev Container 0.255.2 : Default remote user as change from root to node #7307
Comments
I think this is the reason I suddenly started to get errors when trying to execute [2022-10-08T06:09:47.742Z] npm
[2022-10-08T06:09:47.748Z] ERR! code EACCES
[2022-10-08T06:09:47.751Z] npm
[2022-10-08T06:09:47.752Z]
[2022-10-08T06:09:47.754Z] ERR!
[2022-10-08T06:09:47.754Z] syscall
[2022-10-08T06:09:47.755Z] mkdir
[2022-10-08T06:09:47.756Z] npm
[2022-10-08T06:09:47.756Z] ERR!
[2022-10-08T06:09:47.757Z] path
[2022-10-08T06:09:47.758Z] /workspaces/frontend/node_modules/@babel
[2022-10-08T06:09:47.761Z] npm ERR! errno -13
[2022-10-08T06:09:47.770Z] npm ERR! Error: EACCES: permission denied, mkdir '/workspaces/frontend/node_modules/@babel'
npm ERR! [Error: EACCES: permission denied, mkdir '/workspaces/frontend/node_modules/@babel'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR!
[2022-10-08T06:09:47.774Z] syscall: 'mkdir',
[2022-10-08T06:09:47.775Z] npm ERR!
[2022-10-08T06:09:47.775Z] path: '/workspaces/frontend/node_modules/@babel'
[2022-10-08T06:09:47.775Z] npm ERR!
[2022-10-08T06:09:47.776Z]
[2022-10-08T06:09:47.777Z] }
[2022-10-08T06:09:47.779Z] npm
[2022-10-08T06:09:47.780Z]
[2022-10-08T06:09:47.781Z] ERR!
[2022-10-08T06:09:47.782Z]
[2022-10-08T06:09:47.783Z]
[2022-10-08T06:09:47.784Z] npm
[2022-10-08T06:09:47.788Z] ERR!
[2022-10-08T06:09:47.790Z]
[2022-10-08T06:09:47.790Z] The operation was rejected by your operating system.
[2022-10-08T06:09:47.791Z] npm ERR!
[2022-10-08T06:09:47.791Z] It is likely you do not have the permissions to access this file as the current user
[2022-10-08T06:09:47.791Z]
[2022-10-08T06:09:47.792Z] npm
[2022-10-08T06:09:47.793Z] ERR!
npm
[2022-10-08T06:09:47.794Z] ERR!
[2022-10-08T06:09:47.795Z] If you believe this might be a permissions issue, please double-check the
[2022-10-08T06:09:47.802Z] npm
[2022-10-08T06:09:47.803Z] ERR!
[2022-10-08T06:09:47.804Z] permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
[2022-10-08T06:09:47.809Z]
[2022-10-08T06:09:47.809Z] npm ERR!
[2022-10-08T06:09:47.810Z] A complete log of this run can be found in:
npm
[2022-10-08T06:09:47.811Z] ERR! Rolling back to 0.251.0 fixed the issue. |
The /cc @bamurtaugh @Chuxel |
|
It's that I did but I think the containers definitions need to be updated to avoid confusion. |
With The problem is that I'm connecting to multiple containers using one It's the same the other way around: If I start the In other words, it is not possible to get into both devcontainers as |
@simensol Not sure I fully understand what is going on, but could you try using |
I already have Rolling back to |
I have a similar but somewhat mirror issue. I have a container I branched off the node-typescript image some time ago. The remote extension just updated and now whatever the setting of |
Added a fix in Dev Containers 0.259.0-pre-release. Could you give that a try and let me know if that fixes it? Thanks. |
At the very least for my case, 259 does fix the issue, and a simple |
|
Fix is now also available in Dev Containers 0.255.3. |
I'm having a similar issue where "ShutdownAction": "none" is being ignored in my devcontainer.json file-- my container is restarting everytime I exit vscode/the specific devcontainer window. I've tried the various versions of the devcontainer extension: to include 0.255.3 , 0.259.0 and the newest (0.262.3) with no luck. Not sure why it's not working. I'm on VSCode version 1.73. |
Steps to Reproduce:
This is working correctly when rolling back to previous stable version 0.251.0.
The text was updated successfully, but these errors were encountered: