You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My workspace currently blocks access to the global npm registry, instead filtering all traffic through an internal registry. Unfortunately that means running the scaffold command npm create astro@latest results in the following error:
node:events:491
throw er; // Unhandled 'error' event
^
Error: Client network socket disconnected before secure TLS connection was established
at connResetException (node:internal/errors:705:14)
at TLSSocket.onConnectEnd (node:_tls_wrap:1594:19)
at TLSSocket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1358:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ClientRequest instance at:
at TLSSocket.socketErrorListener (node:_http_client:494:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
code: 'ECONNRESET',
path: null,
host: 'registry.npmjs.org',
port: 443,
localAddress: undefined
}
I need some way to point the create script at a local registry rather than the global npm registry. This value can then be passed down to giget's --registry flag. Unfortunately setting the environment variable doesn't seem to help.
Link to Minimal Reproducible Example
N/A
Participation
I am willing to submit a pull request for this issue.
The text was updated successfully, but these errors were encountered:
What version of
astro
are you using?latest
Are you using an SSR adapter? If so, which one?
N/A
What package manager are you using?
npm
What operating system are you using?
Mac
What browser are you using?
N/A
Describe the Bug
My workspace currently blocks access to the global npm registry, instead filtering all traffic through an internal registry. Unfortunately that means running the scaffold command
npm create astro@latest
results in the following error:I need some way to point the create script at a local registry rather than the global npm registry. This value can then be passed down to
giget's --registry flag
. Unfortunately setting the environment variable doesn't seem to help.Link to Minimal Reproducible Example
N/A
Participation
The text was updated successfully, but these errors were encountered: