martinkr/next-export-i18n

Could not resolve dependency for React 18.2.0

Closed this issue · 1 comments

Trying to use this package with the latest version of React (18.2.0) but cannot successfully run npm install.

package.json

"next-export-i18n": "^2.0.3", 
"react": "18.2.0", 
"react-dom": "18.2.0", 

This is the error output in npm:

npm ERR! Could not resolve dependency:  
npm ERR! peer react@"18.0.0" from next-export-i18n@2.0.3  
npm ERR! node_modules/next-export-i18n
npm ERR!   next-export-i18n@"^2.0.3" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: react@18.0.0
npm ERR! node_modules/react
npm ERR!   peer react@"18.0.0" from next-export-i18n@2.0.3
npm ERR!   node_modules/next-export-i18n
npm ERR!     next-export-i18n@"^2.0.3" from the root project

Looks like this is an issue with the dependencies of the project, but it's completely stopping the ability to run a simple npm install without --force .

Hello @martinkr, any news on this issue ?
I'm stuck...
Many thanks for your help