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

[Bug] npm ERR! code ETARGET #505

Open
xavruss opened this issue May 25, 2021 · 7 comments
Open

[Bug] npm ERR! code ETARGET #505

xavruss opened this issue May 25, 2021 · 7 comments
Labels
issue: bug report A bug has been reported needs triage

Comments

@xavruss
Copy link

xavruss commented May 25, 2021

to install get message :

npm ERR! code ETARGET
npm ERR! notarget No matching version found for automation-extra-plugin@^4.2.1.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
@xavruss xavruss added issue: bug report A bug has been reported needs triage labels May 25, 2021
@fcpunk
Copy link

fcpunk commented Dec 1, 2021

same issue, is there any workaround?

@MicrochipQ
Copy link

#454

@zeglin
Copy link

zeglin commented Oct 19, 2022

Can't get pass that error as well. @MicrochipQ what's the workaround? #454 is quite a long thread.

npm install playwright playwright-extra @extra/humanize

npm ERR! code ETARGET
npm ERR! notarget No matching version found for automation-extra-plugin@^4.2.1.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

@RafaelKuhn1212
Copy link

Use yarn

@Tavel
Copy link

Tavel commented Mar 14, 2023

Use yarn

But it's the same issue with yarn:

yarn add @extra/humanize

➤ YN0000: ┌ Resolution step
➤ YN0061: │ request@npm:2.88.2 is deprecated: request has been deprecated, see https://github.com/request/request/issues/3142
➤ YN0061: │ har-validator@npm:5.1.5 is deprecated: this library is no longer supported
➤ YN0061: │ uuid@npm:3.4.0 is deprecated: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
➤ YN0001: │ Error: automation-extra-plugin@npm:^4.2.1: No candidates found
    at ge (C:\Users\Resource1\AppData\Local\node\corepack\yarn\3.4.1\yarn.js:439:7784)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.allSettled (index 1)
    at async $s (C:\Users\Resource1\AppData\Local\node\corepack\yarn\3.4.1\yarn.js:390:10398)
➤ YN0000: └ Completed in 1s 444ms
➤ YN0000: Failed with errors in 1s 445ms

and after all packages upgrade:

yarn add @extra/humanize

➤ YN0000: ┌ Resolution step
➤ YN0001: │ Error: automation-extra-plugin@npm:^4.2.1: No candidates found
    at ge (C:\Users\Resource1\AppData\Local\node\corepack\yarn\3.4.1\yarn.js:439:7784)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.allSettled (index 1)
    at async $s (C:\Users\Resource1\AppData\Local\node\corepack\yarn\3.4.1\yarn.js:390:10398)
➤ YN0000: └ Completed in 0s 777ms
➤ YN0000: Failed with errors in 0s 780ms

@Luen
Copy link

Luen commented Mar 21, 2023

Seems like the package-lock is looking for version ^4.2.1
however, the version has a suffix 4.2.1**-next.587**
https://www.npmjs.com/package/automation-extra-plugin?activeTab=versions

@Tavel
Copy link

Tavel commented Mar 22, 2023

Use yarn

But it's the same issue with yarn:

yarn add @extra/humanize

➤ YN0000: ┌ Resolution step
➤ YN0061: │ request@npm:2.88.2 is deprecated: request has been deprecated, see https://github.com/request/request/issues/3142
➤ YN0061: │ har-validator@npm:5.1.5 is deprecated: this library is no longer supported
➤ YN0061: │ uuid@npm:3.4.0 is deprecated: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
➤ YN0001: │ Error: automation-extra-plugin@npm:^4.2.1: No candidates found
    at ge (C:\Users\Resource1\AppData\Local\node\corepack\yarn\3.4.1\yarn.js:439:7784)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.allSettled (index 1)
    at async $s (C:\Users\Resource1\AppData\Local\node\corepack\yarn\3.4.1\yarn.js:390:10398)
➤ YN0000: └ Completed in 1s 444ms
➤ YN0000: Failed with errors in 1s 445ms

and after all packages upgrade:

yarn add @extra/humanize

➤ YN0000: ┌ Resolution step
➤ YN0001: │ Error: automation-extra-plugin@npm:^4.2.1: No candidates found
    at ge (C:\Users\Resource1\AppData\Local\node\corepack\yarn\3.4.1\yarn.js:439:7784)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.allSettled (index 1)
    at async $s (C:\Users\Resource1\AppData\Local\node\corepack\yarn\3.4.1\yarn.js:390:10398)
➤ YN0000: └ Completed in 0s 777ms
➤ YN0000: Failed with errors in 0s 780ms

Actually I solved this by using this command:
yarn add @extra/[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug report A bug has been reported needs triage
Projects
None yet
Development

No branches or pull requests

7 participants