microsoft / node-pty

Fork pseudoterminals in Node.JS
Other
1.42k stars 233 forks source link

Error while connecting to node-pty #594

Closed as2r9 closed 1 year ago

as2r9 commented 1 year ago

Environment details

Issue description

I installed the node-pty using npm install node-pty after this when i try to run my code to connect to the terminal i am getting this error (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

Can I know how I can solve this Issue.

Tyriar commented 1 year ago

You'll need to look up how to install npm modules for different architectutes separately. I'm not sure how to do it