最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

reactjs - Failed to parse source map from 'node_modules@react-threedreinode_modules@mediapipetasks-visionvision_bundle_m

programmeradmin2浏览0评论

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.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论