I know Deno was recently release but I want to implement a presentation using it to show some nice features and I had this problem when I tried to import some of it third-party modules.
I tried it four ways:
import Fiona from 'https://deno.land/x/fiona';
import Fiona from 'https://deno.land/x/fiona/index.js';
import * as Fiona from 'https://deno.land/x/fiona/index.js';
import { Fiona } from 'https://deno.land/x/fiona/core/index.js';
Unfortunately I still get the error Cannot find module "https://deno.land/x/fiona". Can someone help?
This will work:
import Fiona from 'https://deno.land/x/fiona/deno/index.js'
var version = Fiona.version
console.log(version)
Found on the documentation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With