Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnhandledSchemeError: Reading from "node:crypto" is not handled by plugins #65

Open
Erfan2001 opened this issue Nov 23, 2023 · 0 comments

Comments

@Erfan2001
Copy link

Hi guys,

I have got this error when I import "bing-chat" in my code(import { BingChat } from "bing-chat";):

Module build failed: UnhandledSchemeError: Reading from "node:crypto" is not handled by plugins (Unhandled scheme). Webpack supports "data:" and "file:" URIs by default. You may need an additional plugin to handle "node:" URIs. at XXX\node_modules\webpack\lib\NormalModule.js:832:25

Can anyone have any solution to my problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant