Skip to content

Commit 4b0e4a4

Browse files
committed
fix: update npm-postinstall.sh script
Add --legacy-peer-deps to deal with weird npm issue with vscode dependencies. See: https://stackoverflow.com/a/66620869/3015595
1 parent 4e9ed56 commit 4b0e4a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/build/npm-postinstall.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ install_with_yarn_or_npm() {
140140
echo "yarn.lock file present, running in development mode. use yarn to install code-server!"
141141
exit 1
142142
else
143-
npm install --omit=dev
143+
npm install --unsafe-perm --legacy-peer-deps --omit=dev
144144
fi
145145
;;
146146
*)

0 commit comments

Comments
 (0)