Open cheriejw opened 6 years ago
I have same issue too. (In React project v.16.4.0)
I encoutered this error on node.js, in my case the cause was how the stl was loaded. I was using fs.readFileSync, which reuses the buffer to read in the file (see https://github.com/nodejs/node/issues/11132). Using fs.readFile fixed the issue for me.
Same issue here with Reach v.16.7.0
Any update about this issue?
I ran into this issue with electron due to overzealous middleware and lacking warnings in both this and the electron-compile library. See my response here for some debugging tips:
https://github.com/enspiral-cherubi/three-stl-loader/issues/10#issuecomment-507184045
Using this package with Vue.js
I have run THREE alone successfully, just added this portion to the script and there was no visual change from everything that was loading fine, the error message in inspector is above: