相关疑难解决方法(0)

AWS Codebuild 节点版本更新不起作用

我在部署网站时遇到错误

Minimum Node version not met :(

You are using Node v12.22.2. We require Node >=14 or up!
Run Code Online (Sandbox Code Playgroud)

尝试buildspec.yaml使用节点更新命令更新文件npm install -g node构建规范.yaml

version amazon-web-services node.js aws-codebuild

5
推荐指数
1
解决办法
5816
查看次数

NVM not found in AWS CI-CD Pipeline

I am new to create a pipeline in aws. I want to create a ci-cd pipeline for my nuxt project. I create a yml file in which I want to install nvm and then install node version 12.18.3

The problem is I am getting the nvm not found error.

Can you please check and let me know if there is any error in my yml file:

version: 0.2
phases:
  install:
   commands:
     - echo Installing nvm...
     - curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | …
Run Code Online (Sandbox Code Playgroud)

amazon-web-services aws-codepipeline

2
推荐指数
2
解决办法
3240
查看次数