sustwater

Results comments of sustwater

我登录成功了,但是发布一直报错,说是没有权限。这个权限怎么设置呢? E:\portal\portal\helloworld>cnpm login Username: (admin) Password: (or leave unchanged) Email: (this IS public) ([email protected]) Logged in as admin on http://localhost:7001/. E:\portal\portal\helloworld>cnpm publish helloworld npm ERR! publish Failed PUT 403 npm...

@luqin 谢谢,我的publish成功了,在web页面和数据库都可以看到发布好的工程。但是install的时候出错了。错误原因应该是get的路径不对,应该指向我本地库,但实际指向的是r.cnpmjs.org,可是我已经设置了cnpm set registry http://myip:7001 E:\TEMP\tmcportal>cnpm install testtmc | Installing testtmc@*Error: GET http://r.cnpmjs.org/testtmc/download/testtmc-1. 0.2.tgz response 404 status at get (D:\Program Files\nodejs\node_global\node_modules\cnpm\node_modules\n pminstall\lib\get.js:49:17) at next (native) at onFulfilled (D:\Program Files\nodejs\node_global\node_modules\cnpm\node_m odules\co\index.js:65:19)...

我又试验了下用cnpm publish --registry=http://127.0.0.1:7001发布 用cnpm install testtmc --registry=http://127.0.0.1:7001下载,结果还是不行,运行结果如下所示 E:\portal\testtmc>cnpm publish --registry=http://127.0.0.1:7001 + [email protected] E:\TEMP\tmcportal>cnpm install testtmc --registry=http://127.0.0.1:7001 \ Installing testtmc@*Error: GET http://r.cnpmjs.org/testtmc/download/testtmc-1. 0.3.tgz response 404 status at get (D:\Program Files\nodejs\node_global\node_modules\cnpm\node_modules\n pminstall\lib\get.js:49:17)...

@jtrebess I have the same issue

I have same issue.

I've had the same issue. Did you solve the issue?