Giter Site home page Giter Site logo

Failed to compile about registry-js HOT 3 CLOSED

Anil8753 avatar Anil8753 commented on August 19, 2024
Failed to compile

from registry-js.

Comments (3)

shiftkey avatar shiftkey commented on August 19, 2024

@Anil8753 my guess is that you're not rebuilding registry-js against the right version of Electron you need. Please check out the documentation on ElectronJS and confirm you have it setup right: https://electronjs.org/docs/tutorial/using-native-node-modules

from registry-js.

shiftkey avatar shiftkey commented on August 19, 2024

@Anil8753 there's lots of information missing from this issue:

  • what version of Node did you have installed?
  • what version of Electron are you trying to use it with?
  • what did npm install show?

My guess here is that something is not configured correctly and npm install is building against the wrong runtime, which leads to the runtime error because it's a different version of V8.

Please open a fresh issue with more information if you'd like further troubleshooting support.

from registry-js.

adminy avatar adminy commented on August 19, 2024

I'm facing a similar enough issue:

[vite:node-asset] Could not load Z:/project/node_modules/registry-js/build/Release/registry.node?commonjs-proxy 
(imported by node_modules/registry-js/dist/lib/registry.js): 
The argument 'path' must be a string or Uint8Array without null bytes. 
Received '\x00Z:/project/node_modules/registry-js/build/Release/registry.node'

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.