首先通过yum命令安装npm:
sudo yum install npm
安装npm后,可以通过npm安装yarn:
sudo npm install yarn -g
再通过yarn部署项目:cd到项目的folder,执行:
yarn install
然后
yarn build
再
yarn start
标签:npm,get,sudo,AWS,yarn,apt,install From: https://www.cnblogs.com/johnnyzhao/p/17564239.html