最近,我从我的计算机上完全卸载了NVM。现在,当尝试使用"npm -g @ IONIC /cli“安装离子型时,该过程尝试使用旧NVM安装中的一个文件夹。
>npm install -g @ionic/cli
npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! path C:\Program Files (x86)\Nodist
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Program Files (x86)\Nodist'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoentC:\Program (x86)\Nodist ->不再存在
国家预防机制分期付款行动文件夹是:
npm@7.0.3 C:\Program Files\nodejs\node_modules\npm
发布于 2020-11-04 17:02:55
该解决方案正在运行以下命令:
npm config delete prefix
有一个nodist安装,而我还没有完成完整的卸载步骤。
发布于 2020-10-31 08:35:20
检查系统中的路径->高级系统设置->环境变量
https://stackoverflow.com/questions/64615740
复制相似问题