ARTICLE DETAIL

资讯详情

深耕郑州网站建设与运营推广的一线实战洞察。

Remove-Item : 找不到与参数名称 “rf” 匹配的参数。所在位置 行:1 字符: 4rm -rf node_modules

Remove-Item : 找不到与参数名称 “rf” 匹配的参数。所在位置 行:1 字符: 4rm -rf node_modules 你报错的原因rm -rf 是 Mac/Linux 命令Windows 系统不支持所以会报错。Windows 正确删除命令直接复制用1. 删除 node_modules 文件夹powershellrmdir /s /q node_modules2. 删除 package-lock.json 文件powershelldel package-lock.json3. 清理缓存powershellnpm cache clean --force4. 重新安装依赖powershellnpm install
返回列表