github生成token
- 点击 github token 进入token界面
- 点击
Generate new token -> Generate new token(classic)创建新的token
- 根据图片配置生成token

- 点击复制新生成的token

将token添加到npm配置
-
获取npm配置文件位置

-
添加token到npm配置
//npm.pkg.github.com/:_authToken=<TOKEN>
<组织名称,如@enraged-dun-cookie-development-team>:registry=https://npm.pkg.github.com
