//autopilot1.dn.js
import * as autopilot from "https://deno.land/x/autopilot@0.4.0/mod.ts";
when I run this:
% deno --unstable run --allow-ffi --allow-env --allow-read autopilot1.dn.js
error: Uncaught (in promise) TypeError: Error parsing args at position 0: data did not match any variant of untagged enum ForeignSymbol
return Deno.dlopen(file.path, symbols);
^
at new DynamicLibrary (deno:ext/ffi/00_ffi.js:286:39)
at Object.dlopen (deno:ext/ffi/00_ffi.js:390:12)
at Module.prepare (https://deno.land/x/plug@0.4.0/plug.ts:77:15)
at async https://deno.land/x/autopilot@0.4.0/bindings/bindings.ts:8:14
file:
when I run this:
Note
According to README.md, the command should be:
Though,
Deno.dlopen
isn't defined when I put--unstable
afterrun
. When I just put--unstable
beforerun
, that requests:And when I arrow all of these, same error causes as with
--allow-env --allow-read
.