@Sahilgrewalhere looks like you have to have python installed.
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
I think I've mentioned it a few times, but installing npm packages from a Fresh container should work on all platforms. (The container has python and correct versions of node and npm, for example.) Let me know if you need help installing or using Fresh.