我正在尝试登录NPM注册表,但失败并显示HTTP 404错误: $ npmadduser --registry=https://<forge>/artifactory/api/npm/<repo>code E404
npm ERR!404 Registry returned 404 for PUT on https://<forge>/arti
为此,我建立了一个本地NPM repo,如下所示npm set registry http://127.0.0.1:5080这在我的计算机上启动了一个本地存储库need auth You need to authorize this machine using `npmadduser`npmadduser
但
404 Not Found - GET https://skimdb.npmjs.com/registry/db-migrate/db-migratenpm ERR!404 'db-migrate@^0.11.11' is not in this registry.26 timing npm:load Completed in 32ms
27 notice Log
此外,npm还需要在npm通过npmadduser发布之前创建一个有效的用户,这是因为内部Sinopia服务器在不受支持的命令中抛出一个错误."publishConfig" : { },
....need auth You need to authorize this machine using `np