Skip to content
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

"The resource cannot be found" error on running #11

Open
sethreidnz opened this issue Apr 16, 2024 · 2 comments
Open

"The resource cannot be found" error on running #11

sethreidnz opened this issue Apr 16, 2024 · 2 comments

Comments

@sethreidnz
Copy link

sethreidnz commented Apr 16, 2024

I've followed the instructions in the readme and when I run:

npm exec ado-npm-auth

I get the following error

undefined:1
The resource cannot be found.
^

SyntaxError: Unexpected token 'T', "The resour"... is not valid JSON
    at JSON.parse (<anonymous>)
    at IncomingMessage.<anonymous> ({REDACTED}/node_modules/ado-npm-auth/dist/ado-npm-auth.cjs:38253:37)
    at IncomingMessage.emit (node:events:526:35)
    at endReadableNT (node:internal/streams/readable:1589:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

I then found this #5 and tried the command:

npm exec ado-npm-auth -- --skip-check

Which got me further but then I still get:

Encountered error while performing auth Error: AzureAuth is not installed.

System settings

  • Node version - v20.10.0
  • NPM version - 10.4.0
  • OS - MacOS 14.4.1 (23E224)
@thsparks
Copy link

thsparks commented Aug 12, 2024

edit: I realized my error is more likely releated to #13, so I'll follow up there instead.

I'm also seeing the "AzureAuth is not installed." error when running on WSL:

System Settings

Node version - v18.20.4
Npm version - 10.7.0
WSL - 5.15.153.1-microsoft-standard-wsl2

@sethreidnz
Copy link
Author

Any ideas on this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants