全局安装nrm,不能全局使用
Mophar-gift opened this issue · comments
Mophar-gift commented
The1111mp commented
已经定位到问题了 解析包package.json的"bin"字段的规则出了问题 没有和npm的行为保持一致 bin document
已经在 commit 1776bc4 中修复。
我会尽快发个新版本出来,抱歉。
The1111mp commented
目前可提供一个临时的方法手动解决一下:
%HOMEPATH%\.nvmd\bin
目录下,直接将cli.exe
&cli.cmd
重命名为 nrm.exe
& nrm.cmd
。
(因为错误的解析规则导致生成的垫片文件出现问题。)
Mophar-gift commented
好的 感谢解答
The1111mp commented
It's fixed in the latest version Release v2.6.1.
If you still have problems, please reopen this issue at any time