Both i18next
and react-i18next
have been moved to peerDependencies
and must be installed part of next-i18next
. When upgrading don't forget to add them to your dependencies:
npm install react-i18next i18next --save # NPM
yarn add react-i18next i18next # Yarn
pnpm add react-i18next i18next --save # PNPM
This move was done in the hope to avoid issues regarding duplicates. See the TROUBLESHOOT for more info. In the future it will also allow to support multiple ranges.