I tried adding three-inspect to an existing project I have that is written using vanilla js in Vite and ThreeJS
Unfortunately, I run into this error when I try to run dev.
[ERROR] Failed to resolve entry for package "@threlte/core". The package may have incorrect main/module/exports specified in its package.json: No known conditions for "." specifier in "@threlte/core" package [plugin vite:dep-pre-bundle]
node_modules/three-inspect/dist/internal/context.js:1:32:
1 │ import { currentWritable } from '@threlte/core';
I tried adding three-inspect to an existing project I have that is written using vanilla js in Vite and ThreeJS
Unfortunately, I run into this error when I try to run dev.
[ERROR] Failed to resolve entry for package "@threlte/core". The package may have incorrect main/module/exports specified in its package.json: No known conditions for "." specifier in "@threlte/core" package [plugin vite:dep-pre-bundle]
node_modules/three-inspect/dist/internal/context.js:1:32:
1 │ import { currentWritable } from '@threlte/core';