-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hook useRouter next/router error @keystonejs/app-next 6.1.0 #68
Comments
Hi @rivaslive, apologies for the delay in responding to this issue, can you confirm you are still having issues? |
Hi @bladey unfortunately yes, and it happens with all new projects or created with keystone + nextjs, I don't know the scope if in much older versions it happens too. regards! |
I'm having the exact same issue as @rivaslive described, while I'm using:
When my nextjs app is initialized from |
Bug report
Hook useRouter next/router error @keystonejs/app-next 6.1.0
Describe the bug
The error is simple I am using @keystonejs/app-next 6.1.0 and when I try to unstructured useRouter in pages or anywhere else it fails with the following message
if I change the dev command in package.json to
cross-env NODE_ENV=development next ./app dev
works fine, but when run from keystone instance it fails.could someone know what's going on?
To Reproduce
Steps to reproduce the behaviour. Please provide code snippets or a repository:
my index.js
Screenshots
exact line where it fails using keystonejs
System information
The text was updated successfully, but these errors were encountered: