flume
flume copied to clipboard
Flume install error
I am getting this error. I don't want to use force command as It might conflict with other npm packages. Please fix this.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"^17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.13.1" from [email protected]
npm ERR! node_modules/flume
npm ERR! flume@"*" 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.
Thanks for reporting I'll take a look at this. Is this just a clean install in a new project?
It does with npm. If i try run npm up
it gives the same error. It was installed in the repo before i uninstalled it before updating other libraries. Then reinstalled it. It happened after switching to latest npm 8 I guess. It was fine before
I am having this same issue
@francisbitontistudio A temporary fix would be to use npm install hooks,
preinstall: unintsall flume,
postinstall: install flume,
I am facing multiple issues with flume on react. I would advise not to update react further V17.0.0
you can install force install the package with this comment npm install flume --force
. that works.
Same issue.
npm ERR! Found: [email protected] 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@"^17.0.2" from [email protected] npm ERR! node_modules/flume npm ERR! flume@"*" from the root project
Fix: I tried Yarn install instead and it worked, kinda. While Flume was installed, my AWS Amplify site crashed and after 20 minutes of digging around, I seen a comment that made me think I should try to Yarn install Amplify again and that got everything working.
Add the following to package.json
"overrides": {
"flume": {
"react": "$react",
"react-dom": "$react-dom"
},
"@reach/utils": {
"react": "$react",
"react-dom": "$react-dom"
}
}