![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nodeJs
每一天,每一步
相信自己,你可以的
展开
-
ERROR in ./src/.umi/core/routes.ts 402:19-404:109Module not found: Error: [CaseSensitivePathsPlugin
原因:routes.ts中路由的配置component中路径为interUser,首字母是小写,而实际的文件名首字母为大写的InterUser,将两者修改为一致即可正常启动项目。问题定位:routes.ts中,......不匹配磁盘上的相应路径`InterUser`;...原创 2022-08-25 18:48:22 · 3963 阅读 · 0 评论 -
nvm切换node版本后提示npm : 无法将“npm”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。
1. 找到与当前使用的node.js对应的npm版本以往的版本 | Node.js (nodejs.org)https://nodejs.org/zh-cn/download/releases/2. 下载npmCNPM Binaries Mirror (npmmirror.com)https://registry.npmmirror.com/binary.html?path=npm/3. 将下载好的zip文件解压到nvm安装目录中对应的node.js版本中的node_modules目录下,并原创 2022-03-08 17:02:34 · 3909 阅读 · 2 评论