Skip to content
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

wrapper.useWrappedStore(rest) not working when set NODE_ENV=test in nextjs-v14 #569

Open
Giseokkang opened this issue Apr 25, 2024 · 0 comments
Labels

Comments

@Giseokkang
Copy link

Describe the bug

when i run script ("dev:test": "NODE_ENV=test next dev"), i faced Error: NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

It's going to work well like when i run script (next dev)

Screenshots

스크린샷 2024-04-25 오전 9 57 46

Desktop (please complete the following information):

  • Mac
  • chrome

Additional context

Add any other context about the problem here.

@Giseokkang Giseokkang added the bug label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant