Compiling Node.js script that uses convex _generated/api.js
I am using ts in node js and its generating a dist folder after the project is build but in dist folder I can't see _generated folder inside convex folder. And thats why getting this error
2 Replies
I think you want to add
allowJs: true
to the project-level tsconfig.json. See https://docs.convex.dev/client/javascript/node#typescriptyeah It worked , thanks