retype icon indicating copy to clipboard operation
retype copied to clipboard

Retype not available on M1 Chip? (ARM architecture)

Open jannismilz opened this issue 3 years ago • 4 comments

I was just trying to install Retype in my application and got the error: /usr/local/lib/node_modules/retypeapp/platforms/osx-x64/retype: 1: Syntax error: "(" unexpected

After some digging trough some issues someone mentioned that it's not working on arm architecture? Is this true...? 😢 If yes, why?

jannismilz avatar Oct 05 '22 19:10 jannismilz

Alright so as far as I found out NO it's not possible, but... There's like a workaround. If you're using a devcontainer with docker-compose, you can add platform: linux/amd64 into it and it starts.

Still after that you get System.IO.IOException: Function not implemented and the app crashes. I guess there's need for M1+ support.. I would love it

jannismilz avatar Oct 05 '22 19:10 jannismilz

I'm on M1, everything works fine for me. Installed through npm.

shohamc1 avatar Oct 08 '22 07:10 shohamc1

I'm on M1, everything works fine for me. Installed through npm.

Well another things is that I'm running my app in a devcontainer. So maybe that's the problem... I'm not 100% sure but it's possible that it's a Debian machine. Still the architecture shouldn't change if I don't define it explicitly

jannismilz avatar Oct 08 '22 08:10 jannismilz

Use sudo npm install retypeapp --global Then it will work.

notilas avatar May 10 '23 07:05 notilas