-
Notifications
You must be signed in to change notification settings - Fork 26.1k
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
Unhandled Rejection (TypeError): Cannot read property 'call' of undefined when clicking Link #5636
Comments
Duplicate of vercel/next-plugins#282 |
@timneutkens I am not sure that zeit/next-plugins#282 is related to the same problem. It seems to be related to sass/css though. Should I re-create this ticket in zeit/next-plugins? |
@MoritzR How are you?? could you find some workaround to fix that? Seems like in FF works, but in no in Chrome, do you see it? |
@Jero786 You can have a look at a workaround here: leanovate/nextjs-hmr-bug#3 |
@MoritzR Solve the ESLint warning and the problem is solved. E.g: Modify {
....
"rules": {
...
"no-console": 1
}
} |
None of the fixes I've tried so far worked for me, so I've come up with this one: vercel/next-plugins#282 (comment) |
Bug report
Describe the bug
When running next.js in dev mode and clicking on a link, the error
Unhandled Rejection (TypeError): Cannot read property 'call' of undefined
until the linked page has been refreshed at least once. It seems to be related to using sass, css and typescript exports.To Reproduce
Follow the readme in this repository: https://github.com/leanovate/nextjs-hmr-bug
Expected behavior
When clicking the link, the linked page appears and no error is thrown.
Screenshots
System information
The text was updated successfully, but these errors were encountered: