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.
`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:
I did some googling and was under the impression that adding the compatibility flag:
nodejs_compat
would resolve this? Adding
would resolve this? Adding
"platform: 'node'"` solved nothing, and I use Sveltekit: