Leroy Jeslyn
Leroy Jeslyn

Reputation: 41

Failed to parse source map from '\node_modules\@react-three\drei\node_modules\@mediapipe\tasks-vision\vision_bundle_mjs.j s.map'

Full Error:

Failed to parse source map from 'C:\Users\Leroy\ReactProjects\CoolVec\Frontend\node_modules\@react-three\drei\node_modules\@mediapipe\tasks-vision\vision_bundle_mjs.j
s.map' file: Error: ENOENT: no such file or directory, open 'C:\Users\Leroy\ReactProjects\CoolVec\Frontend\node_modules\@react-three\drei\node_modules\@mediapipe\tasks-vision\vision_bundle_mjs.js.map'

The error is triggered when i use the LayerMaterial from lamina package,

<LayerMaterial lighting="physical" transmission={1} side={THREE.BackSide}>
     <Gradient axes={"y"} start={0} end={-0.5}  colorA={"navy"} colorB={"black"}/>
</LayerMaterial>

The package versions are:

"lamina": "^1.1.23",
"@react-three/drei": "^10.0.3",
"@react-three/fiber": "^9.0.4",
"three": "^0.174.0",

I tried deleting the node modules and package-lock.json file and reinstalling everything, but it still is not working. I figure it's something wrong with the source map.

Any insights on this would be helpful, thank you.

Upvotes: 0

Views: 16

Answers (0)

Related Questions