-
Notifications
You must be signed in to change notification settings - Fork 237
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
Fix peer dependencies to avoid --legacy-peer-deps #413
Comments
Hey @wright-luda ! |
@julien-moreau Note that with the latest version of this repo that
|
I experience a different fatal error when running npm WARN deprecated [email protected]: This package is unmaintained and deprecated. See the GH Issue 259.
⠴ Building module: node-pty, Completed: 0gyp: name 'openssl_fips' is not defined while evaluating condition 'openssl_fips != ""' in binding.gyp while trying to load binding.gyp An unhandled error occurred inside electron-rebuild Error: Error: node-gyp failed to rebuild '/Users/wrightbagwell/Documents/GitHub/Editor/node_modules/node-pty'. Error:
npm ERR! code 255 |
Not a fix but I found a workaround: I rolled back to Nodev14.21.3 and resolved all the package issues present in future versions. Not Ideal but if you need it to run this works |
Installation instruction say to simply run
npm install
.On my Mac M1 running Venture 13.1, when I run
npm install
, I get the following:npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"16.12.0" from the root project
npm ERR! peer react@">=16.0.0" from @ant-design/[email protected]
npm ERR! node_modules/@ant-design/icons
npm ERR! @ant-design/icons@"^4.7.0" from [email protected]
npm ERR! node_modules/antd
npm ERR! antd@"4.18.7" from the root project
npm ERR! 47 more (@ant-design/react-slick, @blueprintjs/core, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^17.0.2" from [email protected]
npm ERR! node_modules/flexlayout-react
npm ERR! flexlayout-react@"0.6.6" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/react
npm ERR! peer react@"^17.0.2" from [email protected]
npm ERR! node_modules/flexlayout-react
npm ERR! flexlayout-react@"0.6.6" 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.
npm ERR!
npm ERR! See /Users/wbagwell/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/wbagwell/.npm/_logs/2023-02-04T04_42_06_823Z-debug-0.log
Here's the log:
2023-02-04T04_42_06_823Z-debug-0.log
The text was updated successfully, but these errors were encountered: