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.
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?