GithubHelp home page GithubHelp logo

Module build failed: UnhandledSchemeError: Reading from "node:util" is not handled by plugins (Unhandled scheme). about node-ldapjs HOT 4 CLOSED

eirikhanasand avatar eirikhanasand commented on September 20, 2024
Module build failed: UnhandledSchemeError: Reading from "node:util" is not handled by plugins (Unhandled scheme).

from node-ldapjs.

Comments (4)

jsumners avatar jsumners commented on September 20, 2024

Thank you for the report, but we do not support bundlers of any sort.

from node-ldapjs.

eirikhanasand avatar eirikhanasand commented on September 20, 2024

Hello, I dont see how bundlers are relevant. I am not trying to use a bundler, simply trying to run the createClient function normally, but it gives this bug that leaves me unable to use the dependency. It doesnt work because it crashes during build due to this issue that occurs when copying the example code provided vy the dependency readme files. Despite the project team not having plans to resolve this, could you still leave it open so the community can help me out? Or provide an example of how to use this correctly?

from node-ldapjs.

jsumners avatar jsumners commented on September 20, 2024

Hello, I dont see how bundlers are relevant. I am not trying to use a bundler

The error clearly shows that the issue arrises from Webpack. It also does not make any sense because there isn't any code (currently) in this organization that uses the node: prefix when requiring modules:

https://github.com/search?q=org%3Aldapjs+%22node%3Autil%22&type=code

Despite the project team not having plans to resolve this, could you still leave it open so the community can help me out?

The community is welcome to work on any issues that affect them. For one such as this, that would entail adding a continuous integration configuration that proves the library works with bundlers. However, I will say that such a contribution would need to be extremely easy to maintain. I am simply not interested in maintaining bundler compatibility and I think it very likely that any such contributor will move on after having made the contribution.

Or provide an example of how to use this correctly?

The code snippet provided seems correct to me, but there is not much context in it so I cannot say that with 100% surety.

from node-ldapjs.

eirikhanasand avatar eirikhanasand commented on September 20, 2024

Thank you for helping. I will debug further meself and see if I can find the source of the problem. It seems that it somehow kicks in when I activate this repository, despite it not being directly related.

from node-ldapjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.