microsoft / node-pty

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

Installation issue with npm #618

Closed afif-malghani closed 11 months ago

afif-malghani commented 11 months ago

Environment details

Issue description

installation fails with at command sh -c node-gyp rebuild

Tyriar commented 11 months ago

what happens?

HilalNazli commented 11 months ago

I was having the same issue. Re-installing Node.js like below solved the problem:

curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - &&\
sudo apt-get install -y nodejs