HewloThere
deno gives 401 unauthorized for imports with an `npm:` specifier, but npm, yarn and pnpm all work?
sorry for delay, i posted it here: https://github.com/denoland/deno/issues/26033
16 replies
deno gives 401 unauthorized for imports with an `npm:` specifier, but npm, yarn and pnpm all work?
sorry will try make in a bit 🙂
i ran
npm config ls -l
, which to my understanding, prints the fully resolved config for npm (along with the file/place it came from).
i attached the result after replacing my username with myusername
and my company with mycompany
(nothing else changed)
i also ran
yarn config --json
(and converted the newline-delimited json to a json array) and did the same replacements and uploaded that16 replies
deno gives 401 unauthorized for imports with an `npm:` specifier, but npm, yarn and pnpm all work?
when running the deno scripts, i was in
~/Documents/deno-scripts
, and the only .npmrc
between there and my home directory is the one in my home directory (which i shared above)16 replies
deno gives 401 unauthorized for imports with an `npm:` specifier, but npm, yarn and pnpm all work?
afaik it only looks in 1 place? but if you can let me know where to look (apart from my home directory, because the one i shared is the one from my home dir) then i'm happy to share
16 replies
deno gives 401 unauthorized for imports with an `npm:` specifier, but npm, yarn and pnpm all work?
here's my
~/.npmrc
(i replaced all instances of my password with "supersecret", all instances of my username with "myusername" and all instances of my company name with "mycompany" - nothing more):
16 replies
JXS/TSX Transformation from within browser code?
alternatively, you could use
esbuild-wasm
and try to do something similar to the "try" part of the esbuild docs has?
https://github.com/evanw/esbuild/blob/main/scripts/try.html
https://esbuild.github.io/try/4 replies
JXS/TSX Transformation from within browser code?
sorry for reviving an old thread. i'm not sure if this works in the browser (and jsr isn't sure either) but does this somehow work? https://jsr.io/@deno/emit
4 replies