-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I am trying to load it in deno with the help of esm.sh but it is giving error:
error: Uncaught Error: createRequire only supports 'file://' URLs for the 'filename' parameter. Received 'https://esm.sh/v111/tiktoken-node@0.0.4/deno/tiktoken-node.js'
throw new Error(
^
at createRequire (https://deno.land/std@0.177.0/node/module.ts:690:17)
at https://esm.sh/v111/tiktoken-node@0.0.4/deno/tiktoken-node.js:2:185
import statement
import tiktoken from "https://esm.sh/tiktoken-node@0.0.4";
Metadata
Metadata
Assignees
Labels
No labels