解决npm install 安装私有库 401 Unauthorized GET 问题 解决方法 $ npm login --scope=@OWNER --registry=https://npm.pkg.github.com > Username: USERNAME > Password: TOKEN > Email: PUBLIC-EMAIL-ADDRESS 然后再次使用 npm install [--legacy-peer-deps]