npmjs.com으로 계정을 만들었습니다. 또한 명령 줄 (Linux)에서 how-to-npm 자습서를 따르고 있습니다. 테스트 모듈을 게시해야하는 단계에 있습니다. 때 NPM내 패키지를 npmjs에 게시 할 수없는 이유
이npm ERR! publish Failed PUT 402
npm ERR! Linux 4.10.0-33-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "publish"
npm ERR! node v4.7.2
npm ERR! npm v3.5.2
npm ERR! code E402
npm ERR! You must sign up for private packages : @zentech/node
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! /home/george/node/npm-debug.log
내 package.json 파일이
{
"name": "@zentech/node",
"version": "1.0.1",
"main": "index.js",
"preferGlobal": true,
"scripts": {
"test": "node test.js"
},
"author": "",
"license": "ISC",
"description": "",
"repository": "http://github.com/zentech/node"
}
사람이 왜 오류를 알고 있지 게시 이러한 모든 오류입니다
You must sign up for private packages : @zentech/node
:하지만 오류가 계속? 감사
오류에 대해 명확하지 않은 것은 무엇입니까? 비공개 패키지에 가입하지 않은 것 같습니다. 비공개 패키지를 사용하려면 등록해야합니다. –
chech this link https://stackoverflow.com/questions/41981686/getting-error-402-while-publishing-package-using-npm – skr