10 2021 档案

摘要:mpm ERR! Unexpected end of JSON input while parsing near ... npm ERR! errno -4048 npm ERR! syscall scandir 解决方案 npm cache clean --force npm install np 阅读全文
posted @ 2021-10-18 15:52 白描先生 阅读(8374) 评论(0) 推荐(1)
摘要:1.安装gcc yum install gcc gcc-c++ 2.下载node国内镜像(推荐)注:可以把版本替换成最新的 wget https://npm.taobao.org/mirrors/node/v16.13.1/node-v16.13.1-linux-x64.tar.gz 3.解压并重命 阅读全文
posted @ 2021-10-16 17:25 白描先生 阅读(785) 评论(0) 推荐(0)
摘要:1.提前安装好Node、Git、Docker环境(此处略过不讲) 2.git clone '前端项目url' 拉取前端项目 编写Dockerfile脚本打包镜像 FROM nginx #设置基础镜像 COPY nginx.conf /etc/nginx/nginx.conf COPY dist/ / 阅读全文
posted @ 2021-10-13 16:36 白描先生 阅读(964) 评论(0) 推荐(0)

}); });