Code that runs successfully locally fails when executed in an edge function
I am trying to interact with the xero-node sdk: https://www.npmjs.com/package/xero-node
When I run the code via Deno locally it works exactly as expected.
When running it on a edge function, (same exact code) the sdk fails to work properly.
Im not 100% sure if perhaps it is a Deno version issue? I have version 2 on my local and as I understand from the docs edgefucntions use version 1.
Im at my wits end here
Error log if relevant:
Code:
The second line executes successfully on my local but fails when running on the edge function
When I run the code via Deno locally it works exactly as expected.
When running it on a edge function, (same exact code) the sdk fails to work properly.
Im not 100% sure if perhaps it is a Deno version issue? I have version 2 on my local and as I understand from the docs edgefucntions use version 1.
Im at my wits end here
Error log if relevant:
Code:
The second line executes successfully on my local but fails when running on the edge function
npm
Xero NodeJS OAuth 2.0 client for xero-node. Latest version: 12.0.0, last published: 3 days ago. Start using xero-node in your project by running
npm i xero-node. There are 37 other projects in the npm registry using xero-node.