gltfjsx icon indicating copy to clipboard operation
gltfjsx copied to clipboard

Using gltfjsx in Next.js - No "exports" main defined in /node_modules/@monogrid/gainmap-js/package.json

Open PrimozRome opened this issue 3 months ago • 0 comments

I am trying to use this in the Next.js app ("next": "^12.3.0") to load my GLTF model, but I am getting this error:

Error: No "exports" main defined in /Users/primozrome/Documents/WEB/dewesoft-website/node_modules/@monogrid/gainmap-js/package.json This error happened while generating the page. Any console logs will be displayed in the terminal window.

Does someone know what is wrong?

PrimozRome avatar Apr 03 '24 08:04 PrimozRome