2013-03-30 30 views
0

我已經得到了奇怪的0.0.1版本,在我的包,現在我不能安裝它...不能安裝/取消發佈NPM包版本0.0.1

$ npm install nodejs 
npm http GET https://registry.npmjs.org/nodejs 
npm http 304 https://registry.npmjs.org/nodejs 
npm WARN engine [email protected]: wanted: {"node":"~0.6.6"} (current: {"node":"v0.8.15","npm":"1.1.66"}) 
[email protected] node_modules/nodejs 

另外,我無法取消發佈:

$ npm unpublish --force [email protected] 
npm http GET https://registry.npmjs.org/nodejs 
npm http 304 https://registry.npmjs.org/nodejs 
npm http DELETE https://registry.npmjs.org/nodejs/-rev/3-9656e170167cee5a40e53aa02ac52080 
npm http 500 https://registry.npmjs.org/nodejs/-rev/3-9656e170167cee5a40e53aa02ac52080 
npm http DELETE https://registry.npmjs.org/nodejs/-rev/3-9656e170167cee5a40e53aa02ac52080 
npm http 500 https://registry.npmjs.org/nodejs/-rev/3-9656e170167cee5a40e53aa02ac52080 
npm http DELETE https://registry.npmjs.org/nodejs/-rev/3-9656e170167cee5a40e53aa02ac52080 
npm http 500 https://registry.npmjs.org/nodejs/-rev/3-9656e170167cee5a40e53aa02ac52080 
npm ERR! Error: case_clause {[]}: nodejs/-rev/3-9656e170167cee5a40e53aa02ac52080 
npm ERR!  at RegClient.<anonymous> (/usr/local/Cellar/node/0.8.15/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:259:14) 
+0

你的package.json文件是什麼樣的? –

+0

這是https://github.com/quadroid/clonejs/blob/master/package.json – Quadroid

回答

1

嘗試運行

npm cache clean 

那的的NodeJS特定版本可能是現在在你的緩存。查看〜/ .npm並在運行該命令之前查看nodejs目錄中的package.json文件。我懷疑它會說0.0.1。