diff --git a/.devcontainer/common/post-create-command.sh b/.devcontainer/common/post-create-command.sh index 5387a0fa7df..f39d98650ce 100755 --- a/.devcontainer/common/post-create-command.sh +++ b/.devcontainer/common/post-create-command.sh @@ -61,6 +61,9 @@ if [ "$SETUP_MKCERT" = "yes" ]; then cd /workspace fi +# Fix ownership of anonymous volume mount points (created as root by Docker) +sudo chown node:node /workspace/node_modules /workspace/apps/desktop/desktop_native/target + if [ "$RUN_NPM_CI" = "yes" ]; then # Install npm dependencies echo "Running npm ci..."