Closed simplenotezy closed 11 months ago
Not sure if it's related? https://github.com/nestjs/nest/issues/1609
Oh, I was missing this part (in main.ts):
-export const viteNodeApp = NestFactory.create(AppModule);
+export const viteNodeApp = NestFactory.create(AppModule, new FastifyAdapter());
Aparently https://github.com/axe-me/vite-plugin-node/issues/30 should be supported, but we're getting error:
This is our viteconfig:
This is our dependencies: