0

Trying to execute script from package.json in folder Web "lerna publish --no-private --no-git-tag-version --no-push". Process fails with lerna ERR! E503 503 Service Unavailable - PUT. So it looks like problems with corporate proxy. But at the same time command started in folder Web

yarn publish --verbose packages/Common/themes --registry https://my-nexus.adress.com/repository/registry.npmjs.org-local/

finishes with success. All configs are in Web folder. Help, please.

Lerna config:

{
  "$schema": "node_modules/lerna/schemas/lerna-schema.json",
  "npmClient": "yarn",
  "useWorkspaces": true,
  "version": "0.0.7",
  "command": {
    "publish": {
      "registry": "https://my-nexus.adress.com/repository/registry.npmjs.org-local/"
    }
  }
}

My yarn config

registry "https://my-nexus.adress.com/repository/registry.npmjs.org-proxy/"
"@company:registry" "https://my-nexus.adress.com/repository/registry.npmjs.org-local/"
https-proxy false
proxy false
save-prefix ""
strict-ssl false

My npm config

strict-ssl=false
//my-nexus.adress.com/repository/registry.npmjs.org-local/:_auth="base64authtoken"
Vera
  • 51
  • 1
  • 6

0 Answers0