上一页 1 ··· 55 56 57 58 59 60 61 62 63 ··· 125 下一页
摘要: yarn 安装 但是却提示"command not found" 问题重现:运行项目起服务yarn serve时,报错“yarn”不是内部命令,于是去命令行查看yarn版本,结果“bash: yarn: command not found”。于是网上百度。 解决方案: 首先安装yarn。输入命令:n 阅读全文
posted @ 2022-03-29 17:58 盘思动 阅读(6604) 评论(0) 推荐(0) 编辑
摘要: 1、ERR引发的思考 创建好的 vue 项目直接执行 vue run dev 报错?运行 vue run serve 就可以启动...如下 npm run dev npm ERR! missing script: dev npm ERR! A complete log of this run can 阅读全文
posted @ 2022-03-26 17:34 盘思动 阅读(422) 评论(0) 推荐(0) 编辑
摘要: npm cache clean -f 有些时候npm下载资源出错,再次下载的时候可能因为之前错误的缓存造成一直下载不成功。 此时可以清一下npm的缓存,然后尝试重新下载 阅读全文
posted @ 2022-03-26 10:54 盘思动 阅读(4782) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2022.cnblogs.com/blog/1202393/202203/1202393-20220325164331687-456919827.png) 阅读全文
posted @ 2022-03-25 16:44 盘思动 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 1.npm i安装的模块及依赖,使用npm uninstall是没有办法删除的,必须使用npm uninstall i才可以删除 2.npm i会帮助检测与当前node最匹配的npm的版本号,并匹配出相互依赖的npm包应该升级的版本号 3.npm i安装的一些包,在当前的node版本下是没有办法使用 阅读全文
posted @ 2022-03-25 16:29 盘思动 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 发出;射出;散发(光、热、声音、气等) 阅读全文
posted @ 2022-03-25 15:44 盘思动 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 1、报错 2、解决方法: npm clean cache npm install express --save 3、再次执行node 阅读全文
posted @ 2022-03-24 18:01 盘思动 阅读(548) 评论(0) 推荐(0) 编辑
摘要: 注意:cdm需要以管理员身份运行,否则会提示文件夹没有操作权限,cmd框右击,选择用管理员身份运行 不要从官网下载最新版本的nodejs安装,会有问题,我的安装的16的,npm每次输入都报错 可以从https://www.cnblogs.com/pansidong/p/16049560.html 找 阅读全文
posted @ 2022-03-24 17:36 盘思动 阅读(140) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2022.cnblogs.com/blog/1202393/202203/1202393-20220324172227738-83806488.png) 阅读全文
posted @ 2022-03-24 17:23 盘思动 阅读(22) 评论(0) 推荐(0) 编辑
摘要: npm config set prefix “D:\nodejs\node_global” npm config set cache "D:\nodejs\node_cache" npm 配置全局包和缓存包报错,原因在于设置包路径没有设置上,此时采取手动设置 手动更改 “C:\Users\Admin 阅读全文
posted @ 2022-03-24 15:42 盘思动 阅读(572) 评论(0) 推荐(0) 编辑
上一页 1 ··· 55 56 57 58 59 60 61 62 63 ··· 125 下一页