Unhandled Runtime Error
Error: No router instance found.
You should only use "next/router" inside the client side of your app.
Source
.next\static\chunks\fallback\main.js (116:10) @ getRouter
114 | 'No router instance found.\n' +
115 | 'You should only use "next/router" inside the client side of your app.\n'
116 | throw new Error(message)
| ^
117 | }
118 | return singletonRouter.router
119 | }
Call Stack
.next\static\chunks\fallback\main.js (12:2)
_callee$
.next\static\chunks\fallback\main.js (12:2)
Generator.invoke [as _invoke]
Unhandled Runtime Error
Error: No router instance found.
You should only use "next/router" inside the client side of your app.
Source
.next\static\chunks\fallback\main.js (116:10) @ getRouter
114 | 'No router instance found.\n' +
.next\static\chunks\fallback\main.js (12:2) _callee$ .next\static\chunks\fallback\main.js (12:2) Generator.invoke [as _invoke]115 | 'You should only use "next/router" inside the client side of your app.\n'