imabnormal
Explore posts from serversResolving Class constructor error
Hello, I am currently trying to port a small test api from NodeJS to Deno.
This code uses only NPM packages and is a direct copy past from the previous project besides the "npm:" addition to packages.
Currently when running the code, there are no errors on compile, only during run time when trying to create the postgress client, which seems to come from the postgress library. I have not been succesful in finding a solution either here in discord or online. Only semi relevant would be changing the compile target which I also tried but got the following error
This was using the example compiler options from https://deno.land/[email protected]/advanced/typescript/configuration
Attached is the code as in the main.ts file, along with the error produced when calling the function. Thank you
Error:
Edit: While there is a deno port of drizzle it is no longer up to date. And the Postgres deno library is not compatible with the npm drizzle library.
3 replies
DTDrizzle Team
•Created by imabnormal on 9/3/2023 in #help
Can't build app due to missing dependencies with Drizzle
3 replies