edge-functions-dev has an invalid argument
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
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
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
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from netlify/cli
-
netlify dev returns 403 for static files in subdirectories on Windows (backslash in rewritten path)Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
`client-ip` is not an IP address when `x-forwarded-for` holds a list or a portPossibly taken @Dev-next-gen claimed this 8 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
`netlify dev` with `--cwd` from outside the project: every function 500s with "module is not defined in ES module scope" (`detectZisiBuilder` passes a string to `readPackageUp`)Possibly taken @bsplatt92 claimed this 49 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
area: command: deploy area: docs type: feature
Difficulty 1/5 Under an hour Newbie friendliness 88/100
netlify/cli#1984 · 19 comments · 3 reactions ·
Maintainers usually reply within 1 day
-
type: bug
Difficulty 4/5 3-5 days Newbie friendliness 15/100
Maintainers usually reply within 1 day
Similar issues
-
fix(data-lake): wizard source step still previews the local slug, not the server-disambiguated oneOpendata-lake
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
enhancement good first issue priority: low size: XS
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
-
bug ios mobile priority:P1
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
streamplace/streamplace#1351 ·
Maintainers usually reply within 2 days