I followed the steps from https://electron-react-boilerplate.js.org/docs/installation/ and ran into a peer dependency error
See original GitHub issuePrerequisites
- Using yarn
- Using node 10.x
- Using an up-to-date
masterbranch - Using latest version of devtools. See wiki for howto update
- Link to stacktrace in a Gist (for bugs)
- For issue in production release, devtools output of
DEBUG_PROD=true yarn build && yarn start - Tried solutions mentioned in #400
Expected Behavior
When I run
git clone --depth=1 https://github.com/electron-react-boilerplate/electron-react-boilerplate your-project-name
cd your-project-name
yarn
I expected dependencies to be installed successfully
Current Behavior
Instead I get
warning " > connected-react-router@6.8.0" has unmet peer dependency "immutable@^3.8.1 || ^4.0.0-rc.1".
warning " > connected-react-router@6.8.0" has unmet peer dependency "react-router@^4.3.1 || ^5.0.0".
warning " > connected-react-router@6.8.0" has unmet peer dependency "seamless-immutable@^7.1.3".
warning " > browserslist-config-erb@0.0.1" has incorrect peer dependency "electron@^7.0.0".
warning "eslint-config-airbnb-typescript > eslint-config-airbnb@18.1.0" has incorrect peer dependency "eslint@^5.16.0 || ^6.8.0".
warning "eslint-config-airbnb-typescript > eslint-config-airbnb@18.1.0" has incorrect peer dependency "eslint-plugin-react-hooks@^2.5.0 || ^1.7.0".
warning " > eslint-config-erb@1.0.0" has unmet peer dependency "eslint-plugin-flowtype@^5.1.3".
warning " > eslint-config-erb@1.0.0" has incorrect peer dependency "eslint-plugin-jsx-a11y@6.2.3".
[4/4] 🔨 Building fresh packages...
$ node -r @babel/register internals/scripts/CheckNativeDep.js && electron-builder install-app-deps && yarn build-dll && opencollective-postinstall
npm ERR! peer dep missing: electron@^7.0.0, required by browserslist-config-erb@0.0.1
npm ERR! peer dep missing: eslint-plugin-jsx-a11y@6.2.3, required by eslint-config-erb@1.0.0
npm ERR! peer dep missing: immutable@^3.8.1 || ^4.0.0-rc.1, required by connected-react-router@6.8.0
npm ERR! peer dep missing: seamless-immutable@^7.1.3, required by connected-react-router@6.8.0
npm ERR! peer dep missing: eslint-plugin-flowtype@^5.1.3, required by eslint-config-erb@1.0.0
npm ERR! peer dep missing: eslint@^5.16.0 || ^6.8.0, required by eslint-config-airbnb@18.1.0
npm ERR! peer dep missing: eslint-plugin-react-hooks@^2.5.0 || ^1.7.0, required by eslint-config-airbnb@18.1.0
This might be pretty easy to solve, but I’m new to electron.js so I’m not sure what to do
Possible Solution
Steps to Reproduce (for bugs)
- I’ve tried it multiple times and whenever I run
git clone --depth=1 https://github.com/electron-react-boilerplate/electron-react-boilerplate your-project-name cd your-project-name yarn
I get those warnings and errors
Context
I want to make sure that I’m installing it properly
Your Environment
- Node version : v14.5.0
- Version or Branch used : master
- Operating System and version : MacOS Catalina 10.15.5
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:11 (1 by maintainers)
Top Results From Across the Web
How do I resolve peer dependency error: The package react ...
it worked when i updated npm "npm install npm -g" and then downgraded react to; "react": "15.3.0" , cleared cache: npm cache clear...
Read more >Javascript | Package Hub
GraphicsJS is a lightweight JavaScript graphics library with the intuitive API, based on SVG/VML technology. Overview; Quick Start; Articles; Building ...
Read more >ERROR setting up boilerplate app using create-react-app
Creating a new React app in G:\My Drive\Coding\Projects\myfirstreactapp. Installing packages. This might take a couple of minutes.
Read more >electron-react-boilerplate-dll-issue from muscaiu - GithubHelp
Note: If you can't use yarn for some reason, try npm install . Run. Start the app in the dev environment. This starts...
Read more >Electron React Boilerplate electron-react-boilerplate Issues
electron -react-boilerplate/electron-react-boilerplate Issues · Many issues with eslint running "npm install" - How come? · How to load . · Github Actions Test ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I am having the same issue.
Yarn version was 1.12.3. So I updated yarn using (
npm i -g yarn) and now have version 1.22.4. I still get the same issue.None of these solutions worked for me, anyone got any way to resolve this?