-
Notifications
You must be signed in to change notification settings - Fork 483
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
build fails under arch #104
Comments
It could be a problem with using python3.x instead of python2.x. That being said, a way to get around this would be using |
recommended close: on arch you can fix it by using this: |
why isn’t this default behavior? PEP 394 clearly says
therefore /edit: added a pull request for gyp. but it doesn’t hurt to explicitly fix this here because 1. it’ll take time until this gets pulled, put into some release, and used in all distros, and 2. the error message here doesn’t indicate that this is the cause at all. |
Well. Arch is hard to configure. People just forget to add python2 as export because you need deep knowledge of how everything works. It's not there by default because you can customize everything you want. If someone uses zsh and not bash how should the installer know where to put that export? You are however right about that behavior.. In the past when python 3 didn't exist, /usr/bin/python would point at python 2. Now it points to one of them depending on how you configured it. Node-gyp could just check if python2 as command exists within the path variable but thats none of tty.js business. |
i meant that we can fix this locally as well, because python2 is always right. and the right thing is to call python2 if you want to use Python 2. and even if that is a gyp bug, why not force buggy software we rely on to do the right thing. |
configure and build works, but it can’t find socket.io.js. which isn’t surprising because it doesn’t get downloaded by npm.
The text was updated successfully, but these errors were encountered: