gabrielbull / gabrielbull/react-desktop

Can't use along with electron-react-boilerplate?

Open
#166 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.5k
Forks
447
PR merge metrics
No merged PRs in 30d

Description

I've tried to install along with [electron-react-boilerplate](https://github.com/electron-react-boilerplate/electron-react-boilerplate) then got this error

```
npm install react-desktop --save

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR! react@"^18.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^15.0 || ^16.0" from react-desktop@0.3.9
npm ERR! node_modules/react-desktop
npm ERR! react-desktop@"*" 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.
```

Contributor guide

Open the contributing guide

Research direction

Start with the reported npm install command and react-desktop@0.3.9's peer dependency, which accepts React 15 or 16 while the boilerplate uses React 18. Check the package metadata and dependency setup first; done should mean the package can be installed alongside the reported React version without this ERESOLVE conflict.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
desktop, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.