From c20d5206c02f5d8689cfb446367ae11eae9c9a6b Mon Sep 17 00:00:00 2001 From: Stepan Usatiuk Date: Sun, 4 Oct 2020 11:21:08 +0300 Subject: [PATCH] fix npm thing --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 0c2f9e2..d6cc809 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -33,7 +33,7 @@ // Use 'forwardPorts' to make a list of ports inside the container available locally. "forwardPorts": [1234, 3000], // Use 'postCreateCommand' to run commands after the container is created. - "postCreateCommand": "npm i && cd frontend && npm i", + "postCreateCommand": "npm config set unsafe-perm=true && npm i && cd frontend && npm i", // Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root. // "remoteUser": "node" } \ No newline at end of file