Failed building JavaScript bundle.
While trying to resolve module @react-three/fiber from file C:\Users\zhangxiang\Desktop\d3mobile\App.tsx, the package C:\Users\zhangxiang\Desktop\d3mobile\node_modules\@react-three\fiber\package.json was successfully found. However, this package itself specifies a main module field that could not be resolved (C:\Users\zhangxiang\Desktop\d3mobile\node_modules\@react-three\fiber\dist\native.js. Indeed, none of these files exist:
Failed building JavaScript bundle. While trying to resolve module
@react-three/fiber
from fileC:\Users\zhangxiang\Desktop\d3mobile\App.tsx
, the packageC:\Users\zhangxiang\Desktop\d3mobile\node_modules\@react-three\fiber\package.json
was successfully found. However, this package itself specifies amain
module field that could not be resolved (C:\Users\zhangxiang\Desktop\d3mobile\node_modules\@react-three\fiber\dist\native.js
. Indeed, none of these files exist: