esm.sh icon indicating copy to clipboard operation
esm.sh copied to clipboard

Failed to import - https://esm.sh/[email protected]

Open vanpipy opened this issue 1 year ago • 1 comments

Failing module

  • GitHub: https://github.com/knex/knex
  • npm: https://www.npmjs.com/package/knex
import knex from 'https://esm.sh/[email protected]';

Error message

After running deno run I got this:

image

error: Uncaught (in promise) Error: /home/leroy/Project/bookish/https:/esm.sh/v92/[email protected]/package.jsondoes not exist
    at Object.x.find (https://esm.sh/v92/@mapbox/[email protected]/deno/node-pre-gyp.js:6:2489)
    at https://esm.sh/v92/[email protected]/deno/sqlite3.js:2:1232
    at https://esm.sh/v92/[email protected]/deno/sqlite3.js:2:853
    at https://esm.sh/v92/[email protected]/deno/sqlite3.js:7:132
    at https://esm.sh/v92/[email protected]/deno/sqlite3.js:2:853
    at https://esm.sh/v92/[email protected]/deno/sqlite3.js:7:2686

Additional info

  • esm.sh version: v92
  • Deno version:
deno 1.25.0 (release, x86_64-unknown-linux-gnu)
v8 10.6.194.5
typescript 4.7.4
  • Failed to import the versions 2.0.0, 2.1.0, 2.2.0 of the knex, it looks like no one version can satisfy the import rule.

vanpipy avatar Aug 30 '22 09:08 vanpipy

Did the knex not support use by deno? Because I found this one knex issue.

vanpipy avatar Aug 30 '22 09:08 vanpipy