This question was created from issues I've encountered while trying to install jsbin locally. JGallardo has asked me to create a question from it, because originally I've posted comments in the original Q&A (please follow the link to see what it was about).
Update: Since the Windows tag has been removed by reviewers, let me note that I am having the issues on a Windows 7 machine.
The command npm install jsbin
don't work for me - it throws an error I don't understand:
"npm ERR! Error: getaddrinfo EAGAIN npm ERR! at errnoException (dns.js:37:11) npm ERR! at Object.onanswer [as oncomplete] (dns.js:124:16)"
I've set up a proxy server, which is required in my case as I found:
npm config set proxy=http://servername:port
.
Now it is fetching files, when I call npm install jsbin
into the
"c:\users\myuser\AppData\Roaming\npm-cache"
directory - but it is running very long. Now it is saying "can't find python executable"
- do you know which dependency this is? How can I install the python package if that is required?
After getting the error above, I have also tried to install npn install python
before running npn install jsbin
. It also did not work, I am still getting the error
"Error: Can't find Python executable "python", you can set the PYTHON env variable."
Can you help to get jsbin installed locally? Why can't npm find the python package although it seems to be installed?
N.B. I now have also installed the official Python interpreter from the official source and verified that it is available through the path
environment variable:
Your environment has been set up for using Node.js 0.10.12 (x64) and npm.
C:\>python
Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:06:53) [MSC v.1600 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
Also, I've set up the PYTHON
environment variable to the path C:\Python33
where the python system was installed to.
The error I am getting is:
gyp ERR! configure error
gyp ERR! stack Error: spawn ENOENT
gyp ERR! stack at errnoException (child_process.js:980:11)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:771:34)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Python33\node_modules\jsbin\node_modules\bcrypt
gyp ERR! node -v v0.10.12
gyp ERR! node-gyp -v v0.10.0
gyp ERR! not ok