Question
How can I check which specific npm package is causing the 'npm install failed error not found python2' error?
Asked by: USER5782
109 Viewed
109 Answers
Answer (109)
When `npm install` fails, it usually prints out the build logs from the package that encountered the error. Carefully examine the output, especially the lines just before the failure message. This will often point to the specific package that's trying to use Python 2.