You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.
npm ERR! no_perms Private mode enable, only admin can publish this module: helloworld
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR! C:\project\node\helloworld\npm-debug.log
The text was updated successfully, but these errors were encountered:
自己搭好了环境,按文中所说,建好了一个helloworl,再发布,报错:
cnpm publish --registry=http://miliju.com:7001
npm ERR! publish Failed PUT 403
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\fire\AppData\Roaming\npm\node_modules\cnpm\node_modules\npm\bin\npm-cli.js" "--userconfig=C:\Users\fire.cnpmrc" "--disturl=https://npm.taobao.org/mirrors/node" "--cache=C:\Users\fire.cnpm" "--registry=http://miliju.com:7001" "--node-gyp=C:\Users\fire\AppData\Roaming\npm\node_modules\cnpm\node_modules\node-gyp\bin\node-gyp.js" "publish" "--registry=http://miliju.com:7001"
npm ERR! node v4.0.0
npm ERR! npm v2.14.3
npm ERR! code E403
npm ERR! no_perms Private mode enable, only admin can publish this module: helloworld
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR! C:\project\node\helloworld\npm-debug.log
The text was updated successfully, but these errors were encountered: