You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using spline in a React project and am using Gatsby to create static pages of this project. When I run Gatsby develop locally everything works fine and my spline project is showing on the page. But when I run Gatsby build it errors.
Page data from page-data.json for the failed page "/threeDtest/": {
"componentChunkName": "component---src-pages-three-dtest-js",
"path": "/threeDtest/",
"result": {
"pageContext": {}
},
"staticQueryHashes": [
"63159454"
]
}
failed Building static HTML for pages
ERROR #95313
Building static HTML failed for path "/threeDtest/"
vec4 texel = texture2D( tDiffuse, vUv );
6282 | gl_FragColor = texel;
> 6283 | }`,RQ=new Ka(-1,1,1,-1,0,1),IE=c
WebpackError: TypeError: Super constructor null of IE is not a constructor
- runtime.js:6283
[gatsby-starter-default]/[@splinetool]/runtime/build/runtime.js:6283:64
- runtime.js:6283
[gatsby-starter-default]/[@splinetool]/runtime/build/runtime.js:6283:185
- bootstrap:19
gatsby-starter-default/webpack/bootstrap:19:1
adding it via JS code or hosting the file locally gives the same error
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using spline in a React project and am using Gatsby to create static pages of this project. When I run Gatsby develop locally everything works fine and my spline project is showing on the page. But when I run Gatsby build it errors.
This is the code I am using
The error I am getting looks like this
adding it via JS code or hosting the file locally gives the same error
<Spline scene="../scene.splinecode" />
Beta Was this translation helpful? Give feedback.
All reactions