Package "path" not found during build

Hey

I am getting a path package error when deploying my applicaiton

`
10:30:19.506    ✘ [ERROR] Could not resolve "path"
10:30:19.507    
10:30:19.507        node_modules/@logtail/node/dist/es6/context.js:1:34:
10:30:19.508          1 │ import { dirname, relative } from "path";
10:30:19.508            ╵                                   ~~~~~~
10:30:19.509    
10:30:19.509      The package "path" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
I did some googling and was under the impression that adding the compatibility flag: nodejs_compat would resolve this? Adding "platform: 'node'"` solved nothing, and I use Sveltekit:

Deployment ID: bf7f7c31-33b5-4a6f-98ca-a997518999e5
Account id: 3071e5b64f2ee42efd45179dc42fd884
Was this page helpful?