-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node-pty install is failed with gyp ERR #3077
Comments
I'm not able to reproduce it with the given information. Could you please provide a minimal example so that it can be reproduced locally? |
As can be seen from this link, the current |
Thank you for your reply And installing node-pty in new empty directory fails with the same error as well |
Perhaps upgrade the tests from Node.js v18 to 20 or 22. https://github.com/microsoft/node-pty/blob/main/azure-pipelines.yml |
I created an empty folder and ran the following commands inside:
The installation was successful with the latest versions of Node.js (v22.9.0, v20.18.0 and v18.20.4). So, I'm not able to reproduce it locally. Could you write down the commands that you've run? |
node-pty definitely works on node 20, that's what I use everyday.
Last time I heard there were problems with bun and node-gyp/NAPI? microsoft/node-pty#632 |
Thanks for your work on
|
I'm using node v20.17.0 and node-gyp is up-to-date (using v10.2.0)
But whenever I try to install dependencies for my project, I get this error output.
Node-gyp output:
I used bun v1.1.21 for installation.
I tried to remove the packages installed and reinstall node-gyp, but all didn't work.
Any help please...
Thank you.
The text was updated successfully, but these errors were encountered: