Reputation: 531
I am bit new to Node js. Sometime back when I was installing a node package It threw a runtime error said python not found or something like that. After successful installation of python it worked. My question is why we need python to install a node package? Can anyone explain
Upvotes: 0
Views: 423
Reputation: 49
One of the dependencies of Node.js is GYP (https://gyp.gsrc.io/docs/UserDocumentation.md) which is written in Python.
You can read more abbout that on the official Node.js's dependencies documentation: https://nodejs.org/en/docs/meta/topics/dependencies/
Upvotes: 1