GithubHelp home page GithubHelp logo

Error in electron 3.0.0 about nodobjc HOT 5 OPEN

dganzella avatar dganzella commented on July 29, 2024 1
Error in electron 3.0.0

from nodobjc.

Comments (5)

dganzella avatar dganzella commented on July 29, 2024 7

To fix this issue, I had to do this:

Forked this repo, removed ffi and ref from dependencies of nodobjc.

https://github.com/dganzella/NodObjC.git

And added my rep, ref and ffi direct from the most updated versions

"nodobjc": "git+https://github.com/dganzella/NodObjC.git",
"ref": "git+https://github.com/TooTallNate/ref",
"ffi": "git+https://github.com/node-ffi/node-ffi"

Then installed electron-rebuild and ran it.

ps. For some reason, adding the latest versions of ref and ffi directly as dependencies of my nodobjc fork didnt work.

from nodobjc.

briangonzalez avatar briangonzalez commented on July 29, 2024 2

Thanks @dganzella! Those deps could be more succinctly written as:

{
  "nodobjc": "dganzella/NodObjC",
  "ref": "TooTallNate/ref",
  "ffi": "node-ffi/node-ffi"
}

from nodobjc.

dganzella avatar dganzella commented on July 29, 2024

It seems the issue is on the https://github.com/TooTallNate/ref .

from nodobjc.

cworsley4 avatar cworsley4 commented on July 29, 2024

Huge help @dganzella thank you! Do NOT discount the necessity of the electron-rebuild module. Must be done.

from nodobjc.

harshitsilly avatar harshitsilly commented on July 29, 2024

have someone tried this with electron v7.. for me i am getting error on make

from nodobjc.

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.