BuilderIO / hydration-overlay

Overlay for hydration errors with explicit diff between renders.
https://www.builder.io/blog/announcing-react-hydration-overlay
MIT License
500 stars 17 forks source link

[error] - Module not found: Can't resolve '@spotlightjs/spotlight' #57

Open shailedrathakur300 opened 3 hours ago

shailedrathakur300 commented 3 hours ago

package manager i used --pnpm Screenshot from 2024-11-15 21-16-26

Follow all the instruction mention in the https://github.com/BuilderIO/hydration-overlay

samijaber commented 3 hours ago

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 @spotlightjs/spotlight?

shailedrathakur300 commented 3 hours ago

@samijaber my bad previously i dont know about the @spotlightjs/spotlight i fix it but after implemention all the step in the readme file why still hydration msg look like Screenshot from 2024-11-15 21-52-33 it very frastrating to see this ugly error msg

samijaber commented 3 hours ago

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