Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deno: Cannot find module "https://deno.land/x/fiona"

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?

like image 991
R. Karlus Avatar asked Oct 30 '25 11:10

R. Karlus


1 Answers

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.

like image 89
Evandro Pomatti Avatar answered Nov 02 '25 01:11

Evandro Pomatti