首页 > 解决方案 > 使用以下命令安装节点和 npm 时,CircleCI 构建失败。任何人都可以对此有所了解吗?

问题描述

这一步构建在circleci中失败

#!/bin/bash -eo pipefail
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
node --version && npm -v

Exited with code exit status 60
CircleCI received exit code 60

标签: circleci

解决方案


你能分享你的 .circleci/config.yml 吗?没有它,很难看出你试图这样做的上下文。既然您使用的是节点,那么使用节点球体不是更有意义吗?


推荐阅读