openai@4.12 do not work on deno runtime?
Problem
Confirm this is a Node library issue and not an underlying OpenAI API issue - [X] This is an issue with the Node library Describe the bug I try to import openai on my netlify edge function, it works well days ago, but today it raises: [code block] Note that I found `/denonext/resources.js` missing from esm.sh. I don't know if this is related. To Reproduce new a netlify edge function with just [code block] and deploys it Code snippets _No response_ OS Windows Node version deno Library version openai v4.12
Error Output
error: Uncaught (in promise) Error: Module not found "https://esm.sh/v133/openai@4.12.4/denonext/resources.js".
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: openai@4.12 do not work on deno runtime?
Thanks for the report, we'll take a look. On Sat, Oct 21 2023 at 1:35 AM, Muspi Merol @.> wrote: > Confirm this is a Node library issue and not an underlying OpenAI API issue > > - This is an issue with the Node library > > Describe the bug > > I try to import openai on my netlify edge function, it works well days > ago, but today it raises: > > error: Uncaught (in promise) Error: Module not
Trust Score
1 verification
- 1
Thanks for the report, we'll take a look.
Thanks for the report, we'll take a look.
- 2
On Sat, Oct 21 2023 at 1:35 AM, Muspi Merol @.>
wrote:
- 3
> Confirm this is a Node library issue and not an underlying OpenAI API issue
> > - This is an issue with the Node library > > Describe the bug > > I try to import openai on my netlify edge function, it works well days > ago, but today it raises: > > error: Uncaught (in promise) Error: Module not found @./denonext/resources.js". > const ret = new Error(getStringFromWasm0(arg0, arg1)); > ^ > at __wbg_new_15d3966e9981a196 @.***@./eszip_wasm.generated.js:417:19) > at <anonymous> @.@./eszip_wasm_bg.wasm:1:93412) > at <anonymous> @.@./eszip_wasm_bg.wasm:1:1499594) > at <anonymous> @.@./eszip_wasm_bg.wasm:1:193
Validation
Resolved in openai/openai-node GitHub issue #393. Community reactions: 0 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep