From cc3058c984dd0bfb7011abafe7320a3fc42eb359 Mon Sep 17 00:00:00 2001 From: Alex Murray Date: Wed, 1 Nov 2023 16:16:30 +1030 Subject: [PATCH] Revert "Update to latest upstream nodejs LTS release 20.9.0" This reverts commit 33eb19cba112628601aa967f5bc03368db3c6c4a since npm is broken behind proxies https://github.com/nodejs/node/issues/50376 and so typescript-language-server fails to build on Launchpad. --- snapcraft.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index 2f2be6f..85f5de6 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -20,7 +20,7 @@ parts: source: https://github.com/typescript-language-server/typescript-language-server.git source-tag: v$SNAPCRAFT_PROJECT_VERSION build-environment: - - NODEJS_VERSION: "v20.9.0" + - NODEJS_VERSION: "v18.18.2" npm-node-version: $NODEJS_VERSION override-build: | # install the official nodejs so we get the expected npm version