NetlfyCMS requires updating to React 18 to work in production with latest Nextjs #6679
Labels
type: feature
code contributing to the implementation of a feature and/or user facing functionality
Is your feature request related to a problem? Please describe.
NetlifyCMS does not work with latest Nextjs due to being above react 17
Describe the solution you'd like
I managed getting the cms to work locally with an error but it was working perfectly fine. By adding the following to the package.json
However when deployed live as production build, cms is covered by an 'Application error: a client-side exception has occurred (see the browser console for more information)'.
I presume it is same error I am getting during development. Is just in production, it does let me get away with it.
Unhandled Runtime Error
TypeError: Cannot read properties of undefined (reading 'default')
Call Stack
default
../node_modules/next/dist/shared/lib/dynamic.js (69:21)
Perhaps there is way around this but it seems is very likely that the CMS react version is behind my nextjs
The text was updated successfully, but these errors were encountered: