Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

admin can override the exists pkg #176

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

admin can override the exists pkg #176

fengmk2 opened this issue Jan 23, 2014 · 0 comments
Assignees
Labels
Milestone

Comments

@fengmk2
Copy link
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

@ghost ghost assigned fengmk2 Jan 26, 2014
dead-horse added a commit that referenced this issue Jan 26, 2014
system admin can add, publish, remove the packages. fixed #176
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant