You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried --legacy-peer-deps, perhaps that's my mistake, but I see the following error:
Server Error
TypeError: Super expression must either be null or a function
This error happened while generating the page. Any console logs will be displayed in the terminal window.
Call Stack
_inherits
node_modules/react-countdown/dist/index.es.js (28:1)
eval
node_modules/react-countdown/dist/index.es.js (216:1)
eval
node_modules/react-countdown/dist/index.es.js (285:3)
The text was updated successfully, but these errors were encountered:
Since Nextjs 15 is using react "19.0.0-rc-66855b96-20241106" which is not a production version yet, you may need to run npm install with --force flag and it should work with no issues.
If you deploy in Vercel, make sure to modify the install command to npm install --force as well.
Installing fails on next-15, and suggests either
--force
or--legacy-peer-deps
flags to install.Specifically, my versions are:
"next": "15.0.3", "react": "19.0.0-rc-66855b96-20241106", "react-countdown": "^2.3.6", "react-dom": "19.0.0-rc-66855b96-20241106"
I tried
--legacy-peer-deps
, perhaps that's my mistake, but I see the following error:The text was updated successfully, but these errors were encountered: