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

Capacitor 6 - Unable to install @capacitor/background-runner #87

Open
WesleyRexmedia opened this issue May 1, 2024 · 5 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@WesleyRexmedia
Copy link

I started with a fresh project and can’t install @capacitor/background-runner
In Vs Code with the Ionic plugin, i made a new tabs project with Vue. And run following command in the terminal

npm install @capacitor/background-runner

Apparently Capacitor was upgraded to version number 6. And i was trying to install @capacitor/background-runner and i run into an install error.

\Ionic\beep>npm install @capacitor/background-runner
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: beep@0.0.1
npm ERR! Found: @capacitor/core@6.0.0
npm ERR! node_modules/@capacitor/core
npm ERR!   @capacitor/core@"6.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @capacitor/core@"^5.0.0" from @capacitor/background-runner@1.1.0
npm ERR! node_modules/@capacitor/background-runner
npm ERR!   @capacitor/background-runner@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

If anyone could help that would be great ! Thank you in advance !

@drsaint23
Copy link

Same issue it seems like the project has not been upgraded to use Capacitor 6 version

@theproducer theproducer self-assigned this May 3, 2024
@theproducer theproducer added the enhancement New feature or request label May 3, 2024
@Wenceslauu

This comment was marked as off-topic.

@teamupdivision

This comment was marked as off-topic.

@lorens-osman-dev

This comment was marked as off-topic.

1 similar comment
@MrMagicalSoftware

This comment was marked as off-topic.

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

No branches or pull requests

7 participants