Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#87 10 comments 9 reactions 1 assignee View on GitHub

@theproducer is already working on this.

Since May 3, 2024.

Assessment

This issue has not been assessed yet.

Description

enhancement

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: [email protected]
npm ERR! Found: @capacitor/[email protected]
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/[email protected]
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 !

Dominant language
C
Stars
57
Forks
37
Avg merge
3d 17h
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ionic-team/capacitor-background-runner

All issues in ionic-team/capacitor-background-runner

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.