platodev
websockets package
an npm package using websockets I use fails
deno run --allow-all cli.ts
error: Uncaught (in promise) TypeError: (0 , G.default) is not a function
at https://esm.sh/v135/rpc-websockets@7.9.0/denonext/dist/lib/client.js:17:1461
at https://esm.sh/v135/rpc-websockets@7.9.0/denonext/dist/lib/client.js:17:1583
at https://esm.sh/v135/rpc-websockets@7.9.0/denonext/dist/lib/client.js:17:452
at https://esm.sh/v135/rpc-websockets@7.9.0/denonext/dist/lib/client.js:17:2248
at https://esm.sh/v135/rpc-websockets@7.9.0/denonext/dist/lib/client.js:17:452
at https://esm.sh/v135/rpc-websockets@7.9.0/denonext/dist/lib/client.js:17:8516
deno run --allow-all cli.ts
error: Uncaught (in promise) TypeError: (0 , G.default) is not a function
at https://esm.sh/v135/rpc-websockets@7.9.0/denonext/dist/lib/client.js:17:1461
at https://esm.sh/v135/rpc-websockets@7.9.0/denonext/dist/lib/client.js:17:1583
at https://esm.sh/v135/rpc-websockets@7.9.0/denonext/dist/lib/client.js:17:452
at https://esm.sh/v135/rpc-websockets@7.9.0/denonext/dist/lib/client.js:17:2248
at https://esm.sh/v135/rpc-websockets@7.9.0/denonext/dist/lib/client.js:17:452
at https://esm.sh/v135/rpc-websockets@7.9.0/denonext/dist/lib/client.js:17:8516
5 replies
Windows compile
not sure how to debug this output isnt clear to me
deno compile --target x86_64-pc-windows-msvc -o hello.exe main.ts -Verb RunAs Administrator
Compile file:///C:/Users/Administrator/denotest/main.ts to hello.exe
"C:/Users/Administrator/scoop/apps/tar/current/bin/tar.exe": Cannot connect to C: resolve failed
[0m [1m [31merror [0m: Writing hello.exe
Caused by:
Failed to unpack archive.
deno compile --target x86_64-pc-windows-msvc -o hello.exe main.ts -Verb RunAs Administrator
Compile file:///C:/Users/Administrator/denotest/main.ts to hello.exe
"C:/Users/Administrator/scoop/apps/tar/current/bin/tar.exe": Cannot connect to C: resolve failed
[0m [1m [31merror [0m: Writing hello.exe
Caused by:
Failed to unpack archive.
2 replies