Giter Site home page Giter Site logo

Comments (7)

tylerlong avatar tylerlong commented on August 19, 2024 1

I confirm that the issue disappeared after adding the following to webpack configuration:

{
        test: /\.node$/,
        use: {
          loader: 'node-loader',
        },
},

from registry-js.

niik avatar niik commented on August 19, 2024

Hey @zredb, I'm afraid the loh you provided doesn't give us much to go on.

Have you been able to use registry-js in the past? We've done a few recent updates so I would try installing an older version and seeing if the problem exists there as well npm install [email protected]

from registry-js.

moshfeu avatar moshfeu commented on August 19, 2024

I have the same problem. I'm using https://github.com/juliangruber/downloads-folder which uses 1.12.0.
It worked before (In the last few monthsI don't remember exactly when.

node: v12.13.1
os: mac os 10.15.6

from registry-js.

williamweckl avatar williamweckl commented on August 19, 2024

I´m experiencing the same issue here. Is there a workaround?

I tryed some older versions too, every version until 1.6.0. I am able to install the dependency, but when my app starts it returns the error:

 error  in ./node_modules/registry-js/build/Release/registry.node

Module parse failed: Unexpected character '�' (1:2)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
(Source code omitted for this binary file)

Maybe there is something related to my webpack config...

from registry-js.

williamweckl avatar williamweckl commented on August 19, 2024

Apparently fixed adding node-loader to webpack.

from registry-js.

jamesbattersby avatar jamesbattersby commented on August 19, 2024

Had the same problem using downloads-folder 1.0.4. in my VSCode extension Tried adding the node-loader as suggested, but it didn't work for me. Ended up going back to downloads-folder 1.0.3, which doesn't pull in registry-js.

from registry-js.

lemontree2000 avatar lemontree2000 commented on August 19, 2024

Had the same problem using downloads-folder 1.0.4. in my VSCode extension Tried adding the node-loader as suggested, but it didn't work for me. Ended up going back to downloads-folder 1.0.3, which doesn't pull in registry-js.

That's how I solved it, but downloads-folder 1.0.3 some problems #5, This is not a good solution😂

from registry-js.

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.