neutralinojs / neutralinojs-cli

neu cli for Neutralinojs
https://neutralino.js.org/docs/cli/neu-cli
MIT License
91 stars 57 forks source link

Doesnt' work on M1 Mac #196

Closed jwalton closed 10 months ago

jwalton commented 1 year ago

Not sure if this is supposed to work out-of-the-box on M1 or not - I saw this issue and it's marked as resovled?

Anyways, if I try to follow along with the tutorial:

$ neu create myapp
...
$ cd myapp
$ new run
neu: INFO Error: ENOENT: no such file or directory, chmod 'bin/neutralino-mac_arm64'

I can work around it with neu run --arch x64 to force it to run in Rosetta.

ZCG-coder commented 1 year ago

I think you'll have to compile https://github.com/neutralinojs/neutralinojs from source, then copy bin/neutralino-mac_arm64 to your application's bin directory. It seems like neu create didn't put the arm64 binary into the bin directories.

shalithasuranga commented 10 months ago

Closing this since now Neutralinojs has a pre-built ARM binary with newer releases. Thanks for reporting and discussing :tada: