NodeJS compat not working

Hey there, i've just tried creating a worker and wanted to use the pgclient for connections to hyperdrive, but now I'm getting the error The package "string_decoder" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file to enable Node.js compatibility. which I did, but it still won't work for some reason. What am I doing wrong?
image.png
Was this page helpful?