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

Not able to use this library on the client side. Getting below errors after importing it. #1262

Open
virenAhire opened this issue Dec 3, 2024 · 1 comment
Assignees

Comments

@virenAhire
Copy link

I have tried importing it in different ways :

import soap from 'soap';
import {createClient} from 'soap';
import * as soap from 'soap';

None of this seemed to work. Got the below errors.

Module build failed: UnhandledSchemeError: Reading from "node:crypto" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.

Module build failed: UnhandledSchemeError: Reading from "node:events" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.

Module build failed: UnhandledSchemeError: Reading from "node:fs/promises" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.

@w666
Copy link
Collaborator

w666 commented Dec 4, 2024

Hi @virenAhire,

Here is the example project, hope this helps.
example.zip

@w666 w666 self-assigned this Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants