react-chat-widget
react-chat-widget copied to clipboard
NPM peer error when using React v18 - npm ERR! Could not resolve dependency:
My project uses react@"^18.2.0"
, and I get the following error: npm ERR! Could not resolve dependency: peer react@"^17.0.2" from [email protected]
when trying to install this package.
Should I install it by force or maybe a bump in React version is coming in a future update ?
It doesn't work on React v18
I have also the same problem with React 18
I have the same problem. could someone give me advices?
I also have "react": "^18.2.0". I just used
$ npm install --save react-chat-widget --legacy-peer-deps
When I install with --legacy-peer-deps
, it worked on my local, but it wasn't able to build later on
i get error when i installed dep with --legacy-peer-deps
error - ReferenceError: self is not defined
at Object.
i get error when i installed dep with --legacy-peer-deps error - ReferenceError: self is not defined at Object. (/Users/myproject/node_modules/react-chat-widget/lib/index.js:1:333)
I just ran into the same issue and I was using React 17