Page 206 - Nodejs 교과서 개정2판
P. 206
// notice 생략
npm ERR! code E403
npm ERR! 403 403 Forbidden - PUT https://registry.npmjs.org/npmtest - You do not have permission to publish
"npmtest". Are you logged in as the correct user?
npm ERR! 403 In most cases, you or one of your dependencies are requesting
npm ERR! 403 a package version that is forbidden by your security policy.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\speak\AppData\Roaming\npm-cache\_logs\2020-04-24T05_52_25_852Z-debug.log
OQNUFTUۄח ܴਸ ־ҵоо ࢎਊೞҊ ਵ۽ য়ܨо ߊࢤ೮णפ OQN ಁః ܴ Ҁח
Ѫਸ ೲਊೞ ঋणפ ٮۄࢲ ಁః ܴਸ ߄Լࢲ ߓನ೧ঠ פ Ҷ թ ࢎਊೞח ಁః ܴਵ۽
ߓನೞҊ रݶ ֎झಕझܳ ॳח ߑߨب णפ ֎झಕझ ࢎਊߨ ী ח ݂ܳ ଵઑೞࣁ
ਃ
/PUF ਗೞח ܴ ࢎਊ ۄݶ
উఋӰѱب ਗೞח ಁః ܴ ࢎਊ ੌ ࣻب णפ ݅ড ೧ ಁఃо ഝߊೞѱ ਬػݶ ইऔ݅ ܲ
ܴਸ ࢎਊ೧ঠ פ ೞ݅ Ӓ ಁఃо ইޖ হ ܴ݅ ରೞҊ ݶ npm owner ls [패키지명]ਵ۽ ೧ ಁః
ઁ ݫੌਸ ഛੋೞҊ ಁఃܳ ਬ ੋ ޙೞח ݫੌਸ ࠁղࠇद ٸ $$ ଵઑ ۽ TVQQPSU!OQNKT DPN
ਸ ೞݶ OQN ਗ ীѱب ݫੌ ࠁղפ ಁః ܴਸ ل۞ऴ ࠙੬ীࢲ ࢎٜ ݻ ղী ী ܰ ޅ
ೡ ҃ OQN աࢲࢲ ೧Ѿ೧સפ
־ҵоо ܴਸ ࢎਊೞҊ ח ഛੋೞ۰ݶ npm info [패키지명]ਸ ࣛী ੑ۱פ ಁఃী ೠ ࠁ
о աৡݶ ־ҵоо ࢎਊೞҊ ח ܴҊ OQN &33 DPEF & ী۞о ߊࢤೠݶ ࢎਊ೧ب જ ܴ
ੑפ
QBDLBHF KTPOীࢲ ਗೞח ܴਵ۽ nameਸ ߄ԲҊ द npm publish ݺ۸যܳ ੑ۱פ ಁఃח োण
ਊ ಁః۽ হח ಁః ܴਸ ࢎਊೞৈ ܲ ࢎۈীѱ ೖ೧ܳ ঋب۾ द ଼ীࢲח
ܴਸ OQNUFTU ۄҊ ߄Դ ٍ ߓನ೮णפ पणೡ ٸח OQNUFTUա OQNUFTU ৻ ܴਵ۽ ߓನ೧
ঠ ج ߊࢤೞ ঋणפ
ߓನ ݺ۸যܳ ੑ۱ೞҊ ߓನೠ ಁఃо OQNী ઁ۽ ١۾غח ഛੋ೧ࠁѷणפ
콘솔
$ npm publish
// notice 생략
+ npmtest-1234@0.0.1
$ npm info npmtest-1234
npmtest-1234@0.0.1 | ISC | deps: none | versions: 1
hello package.json