代码改变世界

随笔档案-2022年03月

ubuntu更新chrome

2022-03-31 12:50 by Bughra, 174 阅读, 收藏, 编辑
摘要: 获取安装包 wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb 再输入将安装包解压,它会自动覆盖当前的chrome版本,更新最新的chrome。 sudo dpkg -i ./google-ch 阅读全文

git clone/pull 仓库单个目录、文件夹

2022-03-31 12:43 by Bughra, 484 阅读, 收藏, 编辑
摘要: 使用git的sparse-checkout. 步骤如下: 1、创建空仓库 mkdir my-prj && cd my-prj git init #初始化 2、拉取远程仓库信息 git remote add -f origin http://oauth2:your-token-here@your-gi 阅读全文

修复JavaScript module script but the server responded with a MIME type of "text/plain" 错误

2022-03-29 14:35 by Bughra, 5232 阅读, 收藏, 编辑
摘要: 错误信息: Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/plain". Strict MIME type ch 阅读全文

Win7安装Node16

2022-03-29 14:24 by Bughra, 1207 阅读, 收藏, 编辑
摘要: 跳过版本号检查 set NODE_SKIP_PLATFORM_CHECK=1 阅读全文
点击右上角即可分享
微信分享提示