Cannot use "timers" when deploying to Cloudflare

Hello, i use Sveltekit with this library xml2js (https://www.npmjs.com/package/xml2js)
and i get this error: Cannot use "timers" when deploying to Cloudflare
what are my options here ?
Thank you.
npm
Simple XML to JavaScript object converter.. Latest version: 0.6.2, last published: 10 months ago. Start using xml2js in your project by running npm i xml2js. There are 9625 other projects in the npm registry using xml2js.
Was this page helpful?