Closed kenjikato closed 2 years ago
@kenjikato Thanks for detailed report here. We are working on moving to nwjs 55 which has better support for M1 Mac but as you mentioned there are some compatibility issues to work through that requires redesigning some things. We are getting closer to a solution and plan to release one soon.
@kenjikato Please try the latest app release 5.3.4 -- PR #184 which updates the Mac and Win apps to nwjs 0.55.0.
I've been having a LOT of crashes on my newer M1 Mac Mini running Big Sur, and found that it's because of apps and websites that use node.js prior to v16. The issue is the default node.js dev install (v14 and prior) does not work properly with M1 Macs in all cases, and can become a major memory eater.
I found that the latest OnlyKey app (5.3.3) is to blame for my system crashing. See below for a crash dump from one of my 6 crashes today.
The issue is that it's using the X86-64 node.js code base. While this has better backwards compatibility, and was recommended initially to get node.js running on M1 Macs. Many have found Rosetta 2 and some node.js apps just don't play nicely.
If possible moving to node.js v16 can solve issues on M1 Macs with Big Sur as it is fully M1 ARM compatible. https://doesitarm.com/app/nodejs/
The big gotcha is that library compatibility can be an issue. As a result some users have gone to v15 as a stop gap to solver this problem. https://stackoverflow.com/questions/65342769/install-node-on-m1-mac