admin can override the exists pkg #176

Closed
fengmk2 opened this Issue Jan 23, 2014 · 0 comments

Projects

None yet

1 participant

@fengmk2
Member
fengmk2 commented Jan 23, 2014
$ tnpm publish
请求服务器发布模块...
[WARNING] Command failed: npm http PUT http://registry.npm.taobao.net/tair
npm http 403 http://registry.npm.taobao.net/tair
npm http PUT http://registry.npm.taobao.net/tair
npm http 403 http://registry.npm.taobao.net/tair
npm ERR! publish Failed PUT response 403
npm ERR! Error: no_perms Current user can not publish this module: tair
npm ERR!     at RegClient.<anonymous> (/opt/taobao/install/node.js/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:272:14)
npm ERR!     at Request.self.callback (/opt/taobao/install/node.js/lib/node_modules/npm/node_modules/request/request.js:129:22)
npm ERR!     at Request.EventEmitter.emit (events.js:98:17)
npm ERR!     at Request.<anonymous> (/opt/taobao/install/node.js/lib/node_modules/npm/node_modules/request/request.js:873:14)
npm ERR!     at Request.EventEmitter.emit (events.js:117:20)
npm ERR!     at IncomingMessage.<anonymous> (/opt/taobao/install/node.js/lib/node_modules/npm/node_modules/request/request.js:824:12)
npm ERR!     at IncomingMessage.EventEmitter.emit (events.js:117:20)
npm ERR!     at _stream_readable.js:920:16
npm ERR!     at process._tickCallback (node.js:415:13)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Linux 2.6.18-274.3.1.tb443.el5
npm ERR! command "/opt/taobao/install/node.js/bin/node" "/opt/taobao/install/node.js/bin/npm" "publish" "." "--registry=http://registry.npm.taobao.net"
npm ERR! cwd /home/admin/npm-web/target/npm-web/tmp/1390457484515_suqian.yf_vw7e4tj0
npm ERR! node -v v0.10.21
npm ERR! npm -v 1.3.11
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/admin/npm-web/target/npm-web/tmp/1390457484515_suqian.yf_vw7e4tj0/npm-debug.log
npm ERR! not ok code 0

@fengmk2 fengmk2 was assigned Jan 26, 2014
@fengmk2 fengmk2 closed this in 1047e18 Jan 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment