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
{{ message }}
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
I have an issue running npx command on a specific package hosted on a custom registry (not npmjs.org)
Context:
I'm using a custom NPM module registry: Nexus, inside my project I have a .npmrc with the registry parameter filled.
We have some scoped packages, let says
The module contains some binaries, let says foo.sh
Problem:
If I clean my node_module, and run the following command:
npx -p @mycompany/tools foo
I get a 404, and when I look at the logs I can see that the request is made to //registry.npmjs.org/ not my local repository.
I cannot see any --registry option or so.
Proposition:
I think the registry should be taken fron .npmrc if exists
Do you think we could add a registry option to allow custom registry?
If I can help developping a solution, with some little guidance and aprovals I would be happy to help
Regards,
Adrien
The text was updated successfully, but these errors were encountered:
I'm opening this issue because:
What's going wrong?
How can the CLI team reproduce the problem?
Hello,
I have an issue running npx command on a specific package hosted on a custom registry (not npmjs.org)
Context:
I'm using a custom NPM module registry: Nexus, inside my project I have a .npmrc with the registry parameter filled.
We have some scoped packages, let says
The module contains some binaries, let says foo.sh
Problem:
If I clean my node_module, and run the following command:
npx -p @mycompany/tools foo
I get a 404, and when I look at the logs I can see that the request is made to //registry.npmjs.org/ not my local repository.
I cannot see any --registry option or so.
Proposition:
I think the registry should be taken fron .npmrc if exists
Do you think we could add a registry option to allow custom registry?
If I can help developping a solution, with some little guidance and aprovals I would be happy to help
Regards,
Adrien
The text was updated successfully, but these errors were encountered: