You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the npm package can not be imported in a Node.js:
import{Tokenizer}from"@mlc-ai/web-tokenizers";
import {Tokenizer} from "@mlc-ai/web-tokenizers";
^^^^^^^^^
SyntaxError: The requested module '@mlc-ai/web-tokenizers' does not provide an export named 'Tokenizer'
importTokenizerfrom"@mlc-ai/web-tokenizers";
import Tokenizer from "@mlc-ai/web-tokenizers";
^^^^^^^^^
SyntaxError: The requested module '@mlc-ai/web-tokenizers' does not provide an export named 'default'
I have no experience with rollup so I can't quite see where went wrong in packaging.
The text was updated successfully, but these errors were encountered:
It seems that the npm package can not be imported in a Node.js:
I have no experience with rollup so I can't quite see where went wrong in packaging.
The text was updated successfully, but these errors were encountered: