-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Scoped package name not encoded #26385
Comments
Looking into this it seems like we're not encoding scoped package names:
It looks like the npm registry supports both the encoded and non-encoded form, but other registries likely don't. |
Just wanted to note that npm doesn't appear to like the non-encoded form either as I'm unable to install one of my private scoped packages (which is why I'm here). |
The fix is not released yet, but you can try a canary build of Deno by running |
Discussed in #26384
Originally posted by idleberg October 18, 2024
Using Deno 2.0, I'm trying to install packages from a private NPM registry (AWS CodeArtifact). I don't think I missed anything from the documentation, but somehow, Deno is unable to find the packages.
Here is my
.npmrc
file:And here the result when trying to run a script that has a dependency from that registry:
Additionally, I have tried several other things:
DENO_NPM_REGISTRY
, which I came across in this issue@my-org/commitlint-config
tonpm:@my-org/commitlint-org
-L debug
doesn't seem to reveal anything useful, but I can post it if it helpsSince I did not find helpful answers on Google or in this repo, I'm reaching out to the community. Hopefully, someone can give me further clues about what I'm missing.
The text was updated successfully, but these errors were encountered: