摘要: 使用 umi 脚手架搭建项目,启动时报错 node_modules/@umijs/runtime" does not exist in container. 出现问题 .umi 是临时文件夹,但是它是匹配当前项目插件的版本,以及一些对应的 theme 配置,layout 配置,如果项目直接复制过来在 阅读全文
posted @ 2022-08-16 15:28 牛奔 阅读(315) 评论(0) 推荐(0) 编辑
摘要: nginx 配置 详细请看Nginx 极简教程 server { listen 80; server_name localhost; #charset koi8-r; # nginx访问活动日志 access_log logs/host.access.log main; # nginx访问错误日志 阅读全文
posted @ 2022-08-16 10:47 牛奔 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 问题 windows 本地缺少 gcc 编译器 解决方案 下载安装使用 MinGW-w64 第一种 https://winlibs.com/#download-release 下载后解压到磁盘中,然后配置环境变量 查看或更改环境变量: 右键单击“我的电脑”,然后单击“属性”。 单击“高级”选项卡。 阅读全文
posted @ 2022-08-16 10:35 牛奔 阅读(240) 评论(0) 推荐(0) 编辑