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
This issue tracks the resolution to various front-end compatibility issues.
Action items
Address require() issues
Address perf_hooks import issue
Add CDN delivery
require() issue in next projects
This file is being treated as an ES module because it has a '.js' file extension and '\web-llm\examples\next-simple-chat\node_modules\@mlc-ai\web-llm\package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
This issue tracks the resolution to various front-end compatibility issues.
Action items
require()
issuesperf_hooks
import issuerequire()
issue in next projectsThis error has been reported in various issues:
_scriptDir
part is indeed from web-tokenizer)Revisit after the following PR is merged and npm is updated, should be able to resolve all issues above:
perf_hooks
issueThis error is reported in issues:
The text was updated successfully, but these errors were encountered: