Exports.ts' is not a module

this is EXTREMELY cool no matter what! Such a needed tool. Thank you for this! I’ll happily pay for a commercial license. Just tell me where to sign up and pay. We’ve needed this exact tool for years.

by user 412630148001824768

Thank you very much!

Working on that and will have easy signup ready soon!

OK bummer the TS2306 error came back after I did a new “Build & Deploy: Prod”

by user 412630148001824768

local version works fine. Only get error on build

by user 412630148001824768

Same with a dev build I assume? Mmmh

where do i dev build? I only see the “Build & Deploy: Prod”

by user 412630148001824768

You can hold Alt to toggle or change it in the Unity Build Window in the Needle Engine Platform

ah

by user 412630148001824768

yep same error on dev build

by user 412630148001824768

node v16.18.0

by user 412630148001824768

I tried to use the Build Settings to export dist files for FTP and got same error both on dev and prod builds. So we can’t deploy at all currently with this error.

by user 412630148001824768

Can you try changing a setting in the tsconfig.json? (you find it if you click on Directory in the ExportInfo component)

Try changing moduleResolution from node to “nodenext”

ok

by user 412630148001824768

made the update and same error

by user 412630148001824768

dev and prod

by user 412630148001824768

Oh sorry yeah i think it would need to be changed in the Needle Engine tsconfig instead (its in Library/PackageCache/com.needle.engine@…/package~/)

ah ok

by user 412630148001824768

i’m not finding tsconfig file there

by user 412630148001824768

by user 412630148001824768