chrisjpatty / flume

Extract logic from your apps with a user-friendly node editor powered by React.

Home Page:https://flume.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flume install error

navanshu opened this issue · comments

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: febnikcalculator@7.0.0
npm ERR! Found: react@17.0.2
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 flume@0.6.3
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: 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@"^17.0.2" from flume@0.8.0
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"
    }
  }