Skip to content

Commit

Permalink
Remove importmap:install command from devcontainer.json
Browse files Browse the repository at this point in the history
If it is executed as part of the updateContentCommand step, the container creation fails.

importmap:install is executed by composer install though (part of the auto-scripts), which executes just fine in Codespaces.

Fixes #1542

Co-authored-by: Wolfgang Weintritt <[email protected]>
  • Loading branch information
maxgrundnig and wolfgangweintritt committed Dec 8, 2024
1 parent 7169fb5 commit 7271753
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
"ghcr.io/shyim/devcontainers-features/symfony-cli:0": {},
"ghcr.io/shyim/devcontainers-features/php:0": {
"version": "8.2"
},
}
},
"updateContentCommand": {
"composer install": ["composer", "install"],
"importmap:install": ["symfony", "console", "importmap:install"]
"composer install": ["composer", "install"]
},
"postAttachCommand": {
"server": "symfony server:start",
Expand Down

0 comments on commit 7271753

Please sign in to comment.