Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deno-esbuild compatibility with npm #3506

Closed
7flash opened this issue Nov 25, 2023 · 2 comments
Closed

deno-esbuild compatibility with npm #3506

7flash opened this issue Nov 25, 2023 · 2 comments

Comments

@7flash
Copy link

7flash commented Nov 25, 2023

When I am trying to build a script which includes imports from deno land, it works

  const { OpenAI } = await import("https://deno.land/x/openai@v4.16.1/mod.ts");

But unfortunately shows following error when trying to build script which includes npm specifiers in imports vercel/modelfusion#188

✘ [ERROR] To use "npm:" specifiers, you must specify "nodeModulesDir: true", or use "loader: native". [plugin deno-loader]
@evanw
Copy link
Owner

evanw commented Nov 25, 2023

That error comes from a plugin, not from esbuild. So I’m guessing you have to work this out with the plugin.

Regardless, I’m marking this issue as unactionable because you didn’t follow the issue reporting instructions. You did not provide a way to reproduce your issue.

@evanw
Copy link
Owner

evanw commented Nov 28, 2023

I'm closing this issue because this is an error from a plugin and because the issue reporting instructions were ignored.

@evanw evanw closed this as not planned Won't fix, can't repro, duplicate, stale Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants