nevermind duh!
by user 412630148001824768
nevermind duh!
by user 412630148001824768
found it
by user 412630148001824768
Yes there in the package~ folder
ok same error
by user 412630148001824768
Ok… What happens if you comment out line 8 (export * from "./engine-components/codegen/exports";
) in package~/needle-engine.ts ?
Sadly the same error
by user 412630148001824768
Can we try the reverse? Adding “import ./engine-components/codegen/exports” in line 3 and enabling line 9 again?
same error
by user 412630148001824768
Last try for now: what if you add a new export to that specific file (im not sure if it works since the file it might be re-generated from Unity)
add export class Dummy { }
at the top of this needle-engine-components/codegen/export.ts file
(if its regenerated and thus removes our change to the export.ts file you could try invoking the npm build script via commandline in your web project for testing instead of building from Unity, not sure if youre comfortable with that)
yeah i can do that in terminal. I tried already but couldn’t figure out the vite command to run it. Looked in the package.json file but commands in there didn’t work.
by user 412630148001824768
Same error after making this update
by user 412630148001824768
npm run build:dev
should be the one
Ok thanks for testing… Ill try if i can reproduce it later somehow
Ok just ran that command npm run build:dev
from VS Code terminal
by user 412630148001824768