#Three repo error

9 messages · Page 1 of 1 (latest)

cunning anchor
#

Out of nowhere I got hit with this error this morning when loading up my scene.

T12:01:08.429Z warn: [modules-runtime] Error in 'codeFile/Examples.tsx': SyntaxError: The requested module 'https://ga.jspm.io/npm:[email protected]/build/three.module.js' does not provide an export named 'RGBFormat' 

analog ginkgo
#

RGBFormat does not exist in the three.js repository – it looks like some other file in your codebase tries to import that value

#

from the other thread, it sounds like you have an outdated copy of CurveModifier.js coming from somewhere

cunning anchor
#

If you look in the files test.tsx

#

I don’t import it anywhere

#

The app I’m using auto imports the libraries with the latest versions

#

So I don’t know where it could be coming from

analog ginkgo
#

Something does import it. I can’t see your source code with just a link to the compiled output though. Can you list all your dependencies and their versions?