mrkwse
mrkwse
DDeno
Created by HewloThere on 10/4/2024 in #help
deno gives 401 unauthorized for imports with an `npm:` specifier, but npm, yarn and pnpm all work?
Should I add to the issue above or open a new one?
25 replies
DDeno
Created by HewloThere on 10/4/2024 in #help
deno gives 401 unauthorized for imports with an `npm:` specifier, but npm, yarn and pnpm all work?
Hi, just a single .npmrc in project root (same dir as project.json)
25 replies
DDeno
Created by HewloThere on 10/4/2024 in #help
deno gives 401 unauthorized for imports with an `npm:` specifier, but npm, yarn and pnpm all work?
(I'm defining username and _password in the project .npmrc, npm installs without issue)
25 replies
DDeno
Created by HewloThere on 10/4/2024 in #help
deno gives 401 unauthorized for imports with an `npm:` specifier, but npm, yarn and pnpm all work?
I'm having a similar 401 issue with a private registry hosted on Azure DevOps -
{"$id":"1","innerException":null,"message":"TF400813: The user 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' is not authorized to access this resource.","typeName":"Microsoft.TeamFoundation.Framework.Server.UnauthorizedRequestException, Microsoft.TeamFoundation.Framework.Server","typeKey":"UnauthorizedRequestException","errorCode":0,"eventId":3000}
{"$id":"1","innerException":null,"message":"TF400813: The user 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' is not authorized to access this resource.","typeName":"Microsoft.TeamFoundation.Framework.Server.UnauthorizedRequestException, Microsoft.TeamFoundation.Framework.Server","typeKey":"UnauthorizedRequestException","errorCode":0,"eventId":3000}
With the error message it returns it appears as though the credentials defined aren't properly being passed?
25 replies