Start RC -> Failed to load the ES module
Hi, code that was working OK inside Start 1.31 is now showing an error in the logs.
https://68dcdf7e5058d6c68105c80c--momnium.netlify.app/
The strange thing is that if the page is loaded directly from the address bar it loads ok. But if I navigate to a route using a link, I get this error. But if I refresh it loads.
Log message:
package.json already has
type: "module"Track Cycling Tools & Insights for Cyclists and Coaches
Momnium provides advanced tools for track cycling training, race analysis, and equipment optimization. Also a blog packed with expert tips and insights.
2 Replies
foreign-sapphireOP•2mo ago
Offending code is:
Then this get's called like this:
I'm wondering why did this work in 1.131.x but not in 1.1.32.x. What has changed?
What is the correct way to call registerChartPlugins(); once when the _authed is loaded first? I guess this would fix it.
I've tried this:
but that's not helping....
harsh-harlequin•2mo ago
you need to the offending package to ssr.noExternal in the vite config