mirror of
https://github.com/danog/code-server.git
synced 2024-11-30 04:39:46 +01:00
docs: add comment to npm-postinstall.sh (#5541)
This commit is contained in:
parent
74017ecc65
commit
64822d0f64
@ -140,6 +140,9 @@ install_with_yarn_or_npm() {
|
|||||||
echo "yarn.lock file present, running in development mode. use yarn to install code-server!"
|
echo "yarn.lock file present, running in development mode. use yarn to install code-server!"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
|
# HACK: NPM's use of semver doesn't like resolving some peerDependencies that vscode (upstream) brings in the form of pre-releases.
|
||||||
|
# The legacy behavior doesn't complain about pre-releases being used, falling back to that for now.
|
||||||
|
# See https://github.com//pull/5071
|
||||||
npm install --unsafe-perm --legacy-peer-deps --omit=dev
|
npm install --unsafe-perm --legacy-peer-deps --omit=dev
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user