Closed vmx closed 5 years ago
It now seems to be a hard failure: https://ci.ipfs.team/blue/organizations/jenkins/IPLD%2Fjs-ipld/detail/why-so-many-old-node-js-versions/1/pipeline/
This is making CI red when it is not the case.
My currently proposed fix is to set the npm configuration variable python
to c:\python27\python.exe
on Windows. That is quick and also easy to debug in case it has unknown side-effects.
Another possible solution (though I was able to reproduce it only once) is to create a symlink to the Python 2.7 executable calles "python2.exe". It seemed that node-gyp was then picking it up correctly. The command to do the symlink would be mklink c:\python27\python2.exe c:\python27\python.exe
.
Which Project is this about?
js-ipfs
Provide a link to a example run where it went wrong
https://ci.ipfs.team/job/IPFS/job/js-ipfs/job/PR-1626/6/consoleFull
It looks like the Windows worker is using Python 3, but this scrit is clearly using Python 2 syntax.
Which platform did the issue happen on?
Windows