lerna publish 时报错

    1. lerna http fetch PUT 401 http://xxx/xxx/@xxx%2fumi-plugin-oss 181ms
    2. lerna ERR! E401 Unable to authenticate, need: BASIC realm="Sonatype Nexus Repository Manager"

    发布时无权限

    检查 package.json 中 publishConfig 配置的是否正确

    1. "publishConfig": {
    2. "registry": "http://xxx/repository/npm/",
    3. "access": "public"
    4. },