前端
tryyourbest0928
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of me
说明: 仅提供一种解决思路 解决方式: 更新node版本,由node:12.18.0-alpine3.11更新为node:14.17.6-alpine3.11 # cicd报错 Step 13/16 : RUN npm run --silent build-local <--- Last few GCs ---> [16:0x5638df093f60] 166359 ms: Mark-sweep 2041.2 (2050.9) -> 2040.5 (2050.9) MB, 3565.原创 2022-02-23 15:08:56 · 624 阅读 · 0 评论 -
离线更新单个docker
#! /bin/bash # sh front-offline-update.sh load | sh front-offline-update.sh save # sh single-front-offline-update.sh save front_name | sh single-front-offline-update.sh load front_name port # update the ezstudio_fronts if [ "$1" = "save" ] then docker原创 2021-12-21 16:27:15 · 585 阅读 · 0 评论 -
前端js css文件报错net::ERR_SSL_PROTOCOL_ERROR
项目部署无法使用域名,测试部署后的前端发现界面css、js文件无法展示,报错net::ERR_SSL_PROTOCOL_ERROR 处理方式如下: 删除index.html文件中的 --content=“upgrade-insecure-requests” <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" /> ...原创 2021-11-05 11:05:06 · 3152 阅读 · 2 评论 -
dockerfile 修改镜像源站
# dockerfile FROM node:12.18.0-alpine3.11 ARG NPM_RUN_ARG=build # 修改镜像源 RUN echo -e http://mirrors.ustc.edu.cn/alpine/v3.11/main/ > /etc/apk/repositories RUN apk add nginx tzdata RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime原创 2021-11-04 15:26:54 · 1484 阅读 · 0 评论 -
一个docker内不同参数执行个npm run
/www/wwwroot # cat Dockerfile FROM node:12.18.0-alpine3.11 ARG NPM_RUN_ARG=build ARG NPM_RUN_ARG_TWO=build-storybook RUN apk add nginx tzdata RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime ADD . /www/wwwroot/ WORKDIR /www/wwwroot/ #RUN ya原创 2021-10-21 16:45:10 · 1233 阅读 · 0 评论 -
前端docker内node_modules自动打包上传
[root@new-test ~]# cat node_modules.sh #! /bin/sh # sh node_modules.sh project_name #wget http://gosspublic.alicdn.com/ossutil/1.7.0/ossutil64 #chmod 755 ossutil64 #./ossutil64 config docker cp $1:/www/wwwroot/node_modules . sleep 15 tar zcf $1.tar.gz node原创 2021-04-14 11:29:09 · 657 阅读 · 0 评论 -
Error: Unable to download sentry-cli binary from https://downloads.sentry-cdn.com/sentry-cli/1.63.1/
# genmuluchuangjian .yarnrc /www/wwwroot # vi .yarnrc registry: https://registry.npm.taobao.org ENTRYCLI_CDNURL: https://cdn.npm.taobao.org/dist/sentry-cli sentrycli_cdnurl: https://cdn.npm.taobao.org/dist/sentry-cli /www/wwwroot # yarn config list yarn c原创 2021-03-04 15:12:52 · 6376 阅读 · 5 评论
分享