Coder Social home page Coder Social logo

Comments (7)

codebytere avatar codebytere commented on June 19, 2024

What version of Node.js are you using?

from node-mac-permissions.

mridulsaini98 avatar mridulsaini98 commented on June 19, 2024

@codebytere
Same issue in M2 chip as well...
Node Version: v14.18.0
Electron Version: 15.1.2

from node-mac-permissions.

KishanBagaria avatar KishanBagaria commented on June 19, 2024

Try Node.js v16 or newer -- earlier versions run with Rosetta.

from node-mac-permissions.

mridulsaini98 avatar mridulsaini98 commented on June 19, 2024

@KishanBagaria @codebytere
I have tried Node v16.18.0 & it's working fine now. Thank you for your great support :)

from node-mac-permissions.

mridulsaini98 avatar mridulsaini98 commented on June 19, 2024

@KishanBagaria
It's working fine on M2 chip with:
Electron: v11.5.0
Node: v14.18.0

But with:
Electron: v15.1.2
Node: v14.18.0

It's not working. Could you please tell me why is it so?

from node-mac-permissions.

KishanBagaria avatar KishanBagaria commented on June 19, 2024

Electron/Node didn't add support for arm64 (Apple Silicon chips) until a later version so macOS is using Rosetta to run the x86 binaries causing issues.

from node-mac-permissions.

mister-10k avatar mister-10k commented on June 19, 2024

uninstall and then run this npm i node-mac-permissions --build-from-source --target_arch=arm64 --fallback-to-build

from node-mac-permissions.

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.