〈[教學] 建立與使用 GitLab 私人 npm package registry〉的留言 https://xenby.com/b/288-%e6%95%99%e5%ad%b8-%e5%bb%ba%e7%ab%8b%e8%88%87%e4%bd%bf%e7%94%a8-gitlab-%e7%a7%81%e4%ba%ba-npm-package-registry 程式設計與軟體分享以及教學 Thu, 13 Jan 2022 02:25:32 +0000 hourly 1 https://wordpress.org/?v=6.0.9 留言者: jasonHsieh https://xenby.com/b/288-%e6%95%99%e5%ad%b8-%e5%bb%ba%e7%ab%8b%e8%88%87%e4%bd%bf%e7%94%a8-gitlab-%e7%a7%81%e4%ba%ba-npm-package-registry#comment-12 Thu, 13 Jan 2022 02:25:32 +0000 https://xenby.com/?p=288#comment-12 謝謝 因為你的教學成功了 !!
原本遇到
npm ERR! 404 Not Found – PUT https://registry.npmjs.org/@xxxxxxxx%2freact-components – Not found
npm ERR! 404
npm ERR! 404 ‘@xxxxxxxx/react-components@1.0.0’ is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404

原來是因為 package.json 裡面的 publishConfig scope name 寫錯

]]>
留言者: 匿名訪客 https://xenby.com/b/288-%e6%95%99%e5%ad%b8-%e5%bb%ba%e7%ab%8b%e8%88%87%e4%bd%bf%e7%94%a8-gitlab-%e7%a7%81%e4%ba%ba-npm-package-registry#comment-11 Thu, 13 Jan 2022 02:22:25 +0000 https://xenby.com/?p=288#comment-11 npm publish 之後會遇到 404 error…

npm ERR! code E404
npm ERR! 404 Not Found – PUT https://registry.npmjs.org/@jaosnhsieh%2freact-components – Not found

]]>