Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant