-
Notifications
You must be signed in to change notification settings - Fork 17
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
[error] - Module not found: Can't resolve '@spotlightjs/spotlight' #57
Comments
Are you attempting to use the spotlight integration? If so you need to install it separately. Or are you seeing this failure while trying to use the hydration-overlay package as normal, without |
@samijaber my bad previously i dont know about the @spotlightjs/spotlight |
this is the nextjs error. the plugin will not remove it. it will always be displayed by nextjs. the hydration plugin will show another error modal when this one is dismissed |
I am trying out this tool and I'm getting this same error. I don't use spotlight and haven't specified any integrations - I can't see any documentation for this either 🤔 I've simply added around my and added the Webpack config. Any ideas? |
Looking through the source code and tests I can see that the integrations are set on the HydrationOverlay, so I tried explicitly setting no integrations to see if it was somehow defaulting to true
But still saw the issue... We are definitely not going into that code branch but the import is still occuring, so I wonder if this issue is happening: webpack/webpack#17986 or something similar where that import is being hoisted for some reason |
@cjwiseman11 you can use provider.tsx and than wrap your children in layout.tsx |
package manager i used --pnpm
Follow all the instruction mention in the
https://github.com/BuilderIO/hydration-overlay
The text was updated successfully, but these errors were encountered: