Fix: nodejs glibc dependency error

pull/437/head
Frostebite 2022-10-30 21:49:18 +00:00
parent c330c5e81a
commit 6f85bfbf33
3 changed files with 5 additions and 5 deletions

4
dist/index.js vendored
View File

@ -5616,10 +5616,10 @@ class BuildAutomationWorkflow {
const builderPath = cloud_runner_folders_1.CloudRunnerFolders.ToLinuxFolder(path_1.default.join(cloud_runner_folders_1.CloudRunnerFolders.builderPathAbsolute, 'dist', `index.js`)); const builderPath = cloud_runner_folders_1.CloudRunnerFolders.ToLinuxFolder(path_1.default.join(cloud_runner_folders_1.CloudRunnerFolders.builderPathAbsolute, 'dist', `index.js`));
return `apt-get update > /dev/null return `apt-get update > /dev/null
apt-get install -y curl tar tree npm git-lfs jq git > /dev/null apt-get install -y curl tar tree npm git-lfs jq git > /dev/null
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - curl -fsSL https://deb.nodesource.com/setup_18.x | bash - > /dev/null
apt-get install -y nodejs > /dev/null apt-get install -y nodejs > /dev/null
npm install -g n > /dev/null npm install -g n > /dev/null
ldd --version ldd ldd --version
npm --version npm --version
nodejs --version nodejs --version
n stable > /dev/null n stable > /dev/null

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -69,10 +69,10 @@ export class BuildAutomationWorkflow implements WorkflowInterface {
return `apt-get update > /dev/null return `apt-get update > /dev/null
apt-get install -y curl tar tree npm git-lfs jq git > /dev/null apt-get install -y curl tar tree npm git-lfs jq git > /dev/null
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - curl -fsSL https://deb.nodesource.com/setup_18.x | bash - > /dev/null
apt-get install -y nodejs > /dev/null apt-get install -y nodejs > /dev/null
npm install -g n > /dev/null npm install -g n > /dev/null
ldd --version ldd ldd --version
npm --version npm --version
nodejs --version nodejs --version
n stable > /dev/null n stable > /dev/null