Skip to content

Commit ce36fca

Browse files
committed
fix(devcontainer): pin pnpm version for node compatibility
the node version(14) in the dev container hasnt been updated and newer versions of pnpm dont support it.
1 parent 29886c3 commit ce36fca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// TODO: look into making the mounts compatible with container volumes to work without a local repo
22
{
33
"image": "thomasloven/hass-custom-devcontainer",
4-
"onCreateCommand": "sudo chown -R vscode:nvm /usr/local/share/nvm && npm install -g pnpm",
4+
"onCreateCommand": "sudo chown -R vscode:nvm /usr/local/share/nvm && npm install -g pnpm@7.33.6",
55
"postCreateCommand": "sudo -E container setup && pip install --upgrade homeassistant && pnpm config set store-dir $XDG_DATA_HOME && pnpm install",
66
"forwardPorts": [8123, 5173],
77
"mounts": [

0 commit comments

Comments
 (0)