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

Does not work with Deno version >1.44 #20

Open
Tam2 opened this issue Jul 30, 2024 · 1 comment
Open

Does not work with Deno version >1.44 #20

Tam2 opened this issue Jul 30, 2024 · 1 comment

Comments

@Tam2
Copy link

Tam2 commented Jul 30, 2024

Trying to run this with a deno version higher than 1.44 gives the following error

[deno] error: TypeScript files are not supported in npm packages:/node_modules/deno-http-worker/deno-bootstrap/index.ts

Downgrading to deno 1.44 solves the issue

Looks like a similar issue - https://answers.netlify.com/t/netlify-cli-fails-to-build-edge-functions-locally-with-deno-v1-45-0/121900/5

@maxmcd
Copy link
Member

maxmcd commented Aug 5, 2024

Hey @Tam2.

fyi, I was running into this bug as well, but we just upgraded and did not run into it. I think we're avoiding the issue by using DENO_NO_PACKAGE_JSON=true and --node-modules-dir=false (we also run deno in a tmpdir).

Can you try those out and see if they work for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants