小编Eth*_*han的帖子

为什么 NPM 的 npm config set always-auth 不是一个有效的选项?国家公共管理8+

具体来说 -> 我的 travis.yml 文件中 before_install: 部分中的“npm config set always-auth true”在 Travis 中给出错误:“npm ERR!always-auth不是有效的 npm 选项”

我尝试过以下变化。

npm config set always-auth true npm config set always-auth=true npm config setregistry:always-auth true // 我事先设置了注册表 npm config setregistry:always-auth=true

这些都在 travis 中给出了相同的错误。

authentication yaml artifactory npm travis-ci

12
推荐指数
1
解决办法
2万
查看次数

标签 统计

artifactory ×1

authentication ×1

npm ×1

travis-ci ×1

yaml ×1