Open
Description
In VSCode I have a devcontainers setup. This allows the team to develop within the container.
In my frontend project I have installed and plugged in vite-plugin-vue-devtools.
I'm also mapping custom ports, in my case port 10105 on host is mapped to 5173 within the container. When I run the project in dev mode, within the container, and use the Toggle Component Inspector on the browser, I'm getting this in npm log:
2025-01-15T09:28:44: Could not open DefaultLayout.vue in the editor.
2025-01-15T09:28:44: The editor process exited with an error: spawn code ENOENT ('code' command does not exist in 'PATH').
Within my container:
✔ 09:30 /var/www/html #sandbox [master|⚑ 17]
> echo $PATH
/home/developer/.local/bin:/vscode/vscode-server/bin/linux-x64/91fbdddc47bc9c09064bf7acf133d22631cbf083/bin/remote-cli:/home/developer/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
✔ 09:33 /var/www/html #sandbox [master|⚑ 17]
> code --version
1.96.3
91fbdddc47bc9c09064bf7acf133d22631cbf083
x64
Side note, I'm running docker from WSL2
Metadata
Metadata
Assignees
Labels
No labels