nodejs / node-gyp

Node.js native addon build tool
MIT License
9.88k stars 1.79k forks source link

node-gyp `binding.gyp not found` error #3024

Open camellieeee opened 5 months ago

camellieeee commented 5 months ago

20240416-220437

node version: v20.10.0 node-gyp verson: v8 or v10 (same problem)

cclauss commented 5 months ago

Python 2 died 1,567 days ago on 1/1/2020.

Node.js uses Python 3 and you can run python3 --version to see what version it will use (probably 3.10.5).

Python is not your problem. gyp: binding.gyp not found is your problem.