Attempt to invoke user-land function #6900
Replies: 1 comment
-
Tracked in #6632 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a relatively small app, but have just starting getting error in my local dev when using Sentry:
helpers.js?0b5b:112 on my home page I get - Uncaught TypeError: Cannot read properties of null (reading 'useContext'), on another page I get: TypeError: Cannot read properties of null (reading 'useEffect')
Seems that Sentry isn't liking hooks in my local dev.
This points to the following:
It seems to only affect local dev, which means I need to switch between regular next.config and next.config with sentry - which isn't great for DX. Has anyone else seen this error and know where it comes from? I am using nextjs13, but not the app folder. Sentry was working fine for a while, so not sure what is throwing this now. I changed something in my Tailwind config (activated JIT, but not sure why that would affect anything in Sentry...)
Beta Was this translation helpful? Give feedback.
All reactions