Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

edge-functions-dev has an invalid argument

Open
#8,522 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
62/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
deno, node.js, typescript
Domain
cli, tooling

Research direction

Start by reproducing the issue with pnpm run astro dev and inspect node_modules/.pnpm/@[email protected]/node_modules/@netlify/edge-functions-dev/dist/node/main.js, especially the denoFlags declaration. Done means the edge-functions development flow no longer passes Deno 2 the invalid --allow-scripts argument.

Written by the indexing model from the issue text.

Description

type: bug
Describe the bug

In node modules, path: /node_modules/.pnpm/@[email protected]/node_modules/@netlify/edge-functions-dev/dist/node/main.js

This line: const denoFlags = ["--allow-scripts", "--quiet", "--no-lock"];

Deno has no setting for --allow-scripts

Steps to reproduce

pnpm run astro dev

Configuration

No response

Environment

deno 2, Astro 7, pnpm 12

Dominant language
TypeScript
Stars
1.9k
Forks
476
Avg merge
1d 18h
Merged PRs (30d)
37

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from netlify/cli

All issues in netlify/cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.