beingkartik
beingkartik12mo ago

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
ballingt
ballingt12mo ago
I think you want to add allowJs: true to the project-level tsconfig.json. See https://docs.convex.dev/client/javascript/node#typescript
beingkartik
beingkartikOP12mo ago
yeah It worked , thanks

Did you find this page helpful?