Latest TeamCity version, plugin version teamcity-node-2.0.27
The build step to install and select a specific node version (version 14 required in our case) fails.
06:18:22 Step 1/3: NVM 14 Install (Node.js NVM Installer) 06:18:22 Download: Fetching NVM 06:18:22 Downloading nvm-sh/nvm... 06:18:22 from https://github.com/nvm-sh/nvm/archive/v0.39.2.zip 06:18:23 NVM downloaded into /opt/JetBrains/TeamCity/buildAgent/system/jonnyzzz.nvm 06:18:23 Install: Installing Node.js v14.21.3 06:18:23 Starting: /opt/JetBrains/TeamCity/buildAgent/temp/agentTmp/custom_script5004199583965402415 06:18:23 in directory: /opt/JetBrains/TeamCity/buildAgent/system/jonnyzzz.nvm 06:18:24 Downloading and installing node v14.21.3... 06:18:25 Downloading https://nodejs.org/dist/v14.21.3/node-v14.21.3-linux-x64.tar.xz... 06:18:25 06:18:25 ######### 13,2% 06:18:25 ################################################## 70,4% 06:18:25 ######################################################################## 100,0% 06:18:25 Computing checksum with sha256sum 06:18:25 Checksums matched! 06:18:29 Now using node v14.21.3 (npm v6.14.18) 06:18:29 Creating default alias: default -> 14.21.3 (-> v14.21.3 *) 06:18:29 Process exited with code 0 06:18:29 Use: Selecting Node.js v14.21.3 06:18:29 Starting: /opt/JetBrains/TeamCity/buildAgent/temp/agentTmp/custom_script7487676735048777800 06:18:29 in directory: /opt/JetBrains/TeamCity/buildAgent/system/jonnyzzz.nvm 06:18:30 Now using node v14.21.3 (npm v6.14.18) 06:18:30 Error: Invalid or corrupt jarfile /opt/JetBrains/TeamCity/buildAgent/plugins/environment-fetcher/lib/environment-fetcher-bin-2024.03-156166-jar-with-dependencies.jar 06:18:30 Process exited with code 1 06:18:30 Process exited with code 1 (Step: ) 06:18:31 Step NVM 14 Install (Node.js NVM Installer) failed
This currently blocks us from building a frontend for our project that requires a different node version, thanks for taking a look into it.
Best regards,
Peter
Latest TeamCity version, plugin version teamcity-node-2.0.27
The build step to install and select a specific node version (version 14 required in our case) fails.
06:18:22 Step 1/3: NVM 14 Install (Node.js NVM Installer) 06:18:22 Download: Fetching NVM 06:18:22 Downloading nvm-sh/nvm... 06:18:22 from https://github.com/nvm-sh/nvm/archive/v0.39.2.zip 06:18:23 NVM downloaded into /opt/JetBrains/TeamCity/buildAgent/system/jonnyzzz.nvm 06:18:23 Install: Installing Node.js v14.21.3 06:18:23 Starting: /opt/JetBrains/TeamCity/buildAgent/temp/agentTmp/custom_script5004199583965402415 06:18:23 in directory: /opt/JetBrains/TeamCity/buildAgent/system/jonnyzzz.nvm 06:18:24 Downloading and installing node v14.21.3... 06:18:25 Downloading https://nodejs.org/dist/v14.21.3/node-v14.21.3-linux-x64.tar.xz... 06:18:25 06:18:25 ######### 13,2% 06:18:25 ################################################## 70,4% 06:18:25 ######################################################################## 100,0% 06:18:25 Computing checksum with sha256sum 06:18:25 Checksums matched! 06:18:29 Now using node v14.21.3 (npm v6.14.18) 06:18:29 Creating default alias: default -> 14.21.3 (-> v14.21.3 *) 06:18:29 Process exited with code 0 06:18:29 Use: Selecting Node.js v14.21.3 06:18:29 Starting: /opt/JetBrains/TeamCity/buildAgent/temp/agentTmp/custom_script7487676735048777800 06:18:29 in directory: /opt/JetBrains/TeamCity/buildAgent/system/jonnyzzz.nvm 06:18:30 Now using node v14.21.3 (npm v6.14.18) 06:18:30 Error: Invalid or corrupt jarfile /opt/JetBrains/TeamCity/buildAgent/plugins/environment-fetcher/lib/environment-fetcher-bin-2024.03-156166-jar-with-dependencies.jar 06:18:30 Process exited with code 1 06:18:30 Process exited with code 1 (Step: ) 06:18:31 Step NVM 14 Install (Node.js NVM Installer) failedThis currently blocks us from building a frontend for our project that requires a different node version, thanks for taking a look into it.
Best regards,
Peter