As of Friday 19th August 2022, new splines won't load into my react setup #76
-
I'm running NextJS, Recat 16.8.6, "@splinetool/react-spline": "^2.2.1", "@splinetool/runtime": "^0.9.64". https://prod.spline.design/nI3VdvUqSKn2a7VP/scene.splinecode works If I update splinetool runtime etc, I need to update react to 17, but then get this web pack error |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @PeterMain Do you have custom build tools around next.js ? The first link is throwing a CORS error for me, I've asked backend about this. |
Beta Was this translation helpful? Give feedback.
-
Thanks, I think the issue was a mixture of old React, old NextJS and some coding ineptitude. Have rebuilt on latest stack and working great. |
Beta Was this translation helpful? Give feedback.
Hi @PeterMain
I was able to load your second link in a new next.js project with those package versions:
Do you have custom build tools around next.js ?
The first link is throwing a CORS error for me, I've asked backend about this.