leigh
leigh12mo ago

Permissions with npm/node imports

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";
╵ ~~~~~~~~~~~~~~~
1 Reply
leigh
leigh12mo ago
Do I need to allow read a directory for node?