-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CNPM v4.2.0在Windows系统上工作不正常 #97
Comments
cnpm 4.2 不是用的 npm 封装,而是用了 npminstall 这个库。所以你输入的 npm 参数,npminstall 不一定能接受。 在 2016年3月25日 下午11:01,Chris Pan notifications@github.com写道:
|
@alsotang |
可以使用 |
我在非 windows 下是 ok 的, @panteng 你重新安装一下 cnpm,然后再尝试一次 -g 安装。 |
@panteng 应该是 cnpm/npminstall#55 类似问题了。 |
@fengmk2 |
Win10 x64
node v5.9.0
npm v3.8.3
cnpm v4.2.0
cnpm install xxx -g
安装全局模块有问题。比如全局安装gulp-cli后,在命令行中输入gulp -v,会提示找不到命令。cnpm install xxx -d
时,控制台输入的信息与官方npm不一致,cnpm v4.2.0并没有把安装过程中的详细信息打印出来,而是显示下载文件大小和安装耗时。我不清楚cnpm的具体实现机制,但是我觉得尽可能让输出信息与官方npm一致是不是更妥当?使用官方npm v3.8.3或者换回cnpm v3.4.1后则一切正常。
The text was updated successfully, but these errors were encountered: