DjDeveloperr / deno_serial

Serialport API for Deno.
https://deno.land/x/serialport
Apache License 2.0
20 stars 1 forks source link

Problems in loading this lib from Deno/x #6

Closed fvilante closed 1 year ago

fvilante commented 1 year ago

The link in the "try out" section of the readme.file is broken.

╰─❯ deno run --unstable --allow-ffi https://deno.land/x/serialport@0.1.0/examples/print_ports.ts
error: Module not found "https://deno.land/x/serialport@0.1.0/examples/print_ports.ts".

I could not found any "serialport" lib in the Deno/X repository: https://deno.land/x?query=serialport

DjDeveloperr commented 1 year ago

As it is unfinished yet, I have not published a version on deno.land/x. I'll do it once all platforms have a working implementation. For now, you need to run/import from the repo directly: https://raw.githubusercontent.com/DjDeveloperr/deno_serial/main/examples/print_ports.ts

fvilante commented 1 year ago

Why not to put it clearly on the readme file?

DjDeveloperr commented 1 year ago

Okay I just added it to readme.

fvilante commented 1 year ago

Ok, tested and the link of the readme is working. Clossing this issue