error: Found argument '--allow-plugin' which wasn't expected, or isn't valid in this context Did you mean --allow-run?

error: Found argument '--allow-plugin' which wasn't expected, or isn't valid in this context Did you mean --allow-run?

当我尝试使用以下命令 运行 我的应用程序时,出现以下错误:

deno run --allow-net --allow-write --allow-read --allow-plugin --allow-env --unstable server.ts server.ts

error: Found argument '--allow-plugin' which wasn't expected, or isn't valid in this context Did you mean --allow-run?

尝试使用 --allow-ffi 而不是 --allow-plugin

以前命名为 plugin 的权限现在命名为 ffi。请参阅 GitHub 上的 permissions list in the manual. You can also read about the change in the blog post for the release of v1.13, or in the release notes