D
Deno

help

Permissions with npm/node imports

Lleigh8/27/2023
I'm trying to run a command and it's like I need to add --allow-read permissions because of the node: imports. This is the error I see:
✘ [ERROR] No such file or directory (os error 2): readfile 'node:punycode' [plugin lumeLoader]

deno:https://esm.sh/v131/markdown-it@13.0.1/denonext/markdown-it.mjs:4:22:
4 │ import * as __2$ from "node:punycode";
╵ ~~~~~~~~~~~~~~~
✘ [ERROR] No such file or directory (os error 2): readfile 'node:punycode' [plugin lumeLoader]

deno:https://esm.sh/v131/markdown-it@13.0.1/denonext/markdown-it.mjs:4:22:
4 │ import * as __2$ from "node:punycode";
╵ ~~~~~~~~~~~~~~~
Do I need to allow read a directory for node?

Looking for more? Join the community!