I am using threejs in a vue project and I faced the same error as this when I was trying to create a text geometry even though the path to the typeface font is correct and it's json
1 Answer
I had the same issue, however I didn't figure out why loader.load was throwing this error. I solved it using loader.parse
Import the typeface json
import fontJson from "/src/assets/font/helvetiker_regular.typeface.json";
Use loader.parse instead
const font = loader.parse(fontJson);
If this won't work you aswell, maybe something is wrong with your JSON. I am sorry :(