ray
DTDrizzle Team
•Created by ray on 6/15/2023 in #help
require() of ES Module not supported
This isn't too related to drizzle-ORM, but I figured I'd ask it here:
I'm trying to connect drizzle to my PlanetScale database like so:
and it's giving me the following error when I run
npm run dev
I've tried several solutions that people have suggested online, including adding "type": "module"
to my package.json file. Anyone have any ideas as to what's going wrong? I'll send any files if needed.27 replies