Correct. I am using a older version of forge CLI. I had errors trying to setup @latest.
EDIT:
This was caused by an internal blocker. We have fixed the blocker and now testing to see if the problem resolves in forge/cli@latest.
EDIT:
Upgrading to 6.x.x has created problem with the forge login command. I am getting errors with the lint command:
“Error: Keytar error detected: The name org.freedesktop.secrets was not provided by any .service files”
in CI/CD now and when I try to use the forge login command:
“Error: The CLI couldn’t securely store your login credentials in a local keychain. Ensure you have libsecret installed. If a local keychain is not available, use environment variables before trying again. See https://go.atlassian.com/dac/platform/forge/getting-started/#log-in-with-an-atlassian-api-token for more.”
npm WARN deprecated memfs@3.6.0: this will be v4
npm ERR! code 1
npm ERR! path /usr/local/lib/node_modules/@forge/cli/node_modules/ngrok
npm ERR! command failed
npm ERR! command sh -c node ./postinstall.js
npm ERR! ngrok - downloading binary https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.zip
npm ERR! ngrok - downloading progress:
npm ERR! ngrok - error downloading from URL RequestError: read ECONNRESET
npm ERR! at ClientRequest.<anonymous> (/usr/local/lib/node_modules/@forge/cli/node_modules/got/dist/source/core/index.js:970:111)
npm ERR! at Object.onceWrapper (node:events:628:26)
npm ERR! at ClientRequest.emit (node:events:525:35)
npm ERR! at origin.emit (/usr/local/lib/node_modules/@forge/cli/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
npm ERR! at TLSSocket.socketErrorListener (node:_http_client:502:9)
npm ERR! at TLSSocket.emit (node:events:513:28)
npm ERR! at emitErrorNT (node:internal/streams/destroy:151:8)
npm ERR! at emitErrorCloseNT (node:internal/streams/destroy:116:3)
npm ERR! at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
npm ERR! at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) {
npm ERR! code: 'ECONNRESET',
npm ERR! timings: {
npm ERR! start: 1693234656817,
npm ERR! socket: 1693234656820,
npm ERR! lookup: 1693234656915,
npm ERR! connect: 1693234656950,
npm ERR! secureConnect: undefined,
npm ERR! upload: undefined,
npm ERR! response: undefined,
npm ERR! end: undefined,
npm ERR! error: 1693234656986,
npm ERR! abort: undefined,
npm ERR! phases: {
npm ERR! wait: 3,
npm ERR! dns: 95,
npm ERR! tcp: 35,
npm ERR! tls: undefined,
npm ERR! request: undefined,
npm ERR! firstByte: undefined,
npm ERR! download: undefined,
npm ERR! total: 169
npm ERR! }
npm ERR! }
npm ERR! }
npm ERR! ngrok - install failed, retrying
npm ERR! ngrok - downloading binary https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.zip
npm ERR! ngrok - downloading progress:
npm ERR! ngrok - error downloading from URL RequestError: read ECONNRESET
npm ERR! at ClientRequest.<anonymous> (/usr/local/lib/node_modules/@forge/cli/node_modules/got/dist/source/core/index.js:970:111)
npm ERR! at Object.onceWrapper (node:events:628:26)
npm ERR! at ClientRequest.emit (node:events:525:35)
npm ERR! at origin.emit (/usr/local/lib/node_modules/@forge/cli/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
npm ERR! at TLSSocket.socketErrorListener (node:_http_client:502:9)
npm ERR! at TLSSocket.emit (node:events:513:28)
npm ERR! at emitErrorNT (node:internal/streams/destroy:151:8)
npm ERR! at emitErrorCloseNT (node:internal/streams/destroy:116:3)
npm ERR! at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
npm ERR! at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) {
npm ERR! code: 'ECONNRESET',
npm ERR! timings: {
npm ERR! start: 1693234657491,
npm ERR! socket: 1693234657491,
npm ERR! lookup: 1693234657492,
npm ERR! connect: 1693234657525,
npm ERR! secureConnect: undefined,
npm ERR! upload: undefined,
npm ERR! response: undefined,
npm ERR! end: undefined,
npm ERR! error: 1693234657559,
npm ERR! abort: undefined,
npm ERR! phases: {
npm ERR! wait: 0,
npm ERR! dns: 1,
npm ERR! tcp: 33,
npm ERR! tls: undefined,
npm ERR! request: undefined,
npm ERR! firstByte: undefined,
npm ERR! download: undefined,
npm ERR! total: 68
npm ERR! }
npm ERR! }
npm ERR! }