Gyp verb which failed Error: not found: python2

Error : npm ERR! gyp verb clean removing "build" directory npm ERR! gyp verb command configure [] npm ERR! gyp verb check python checking for Python executable "python2" in the PATH npm ERR! gyp verb which failed Error: not found: python2

Solution : installed node v14.17.0, and use the command npm install --save-dev --save-exact serverless-bundle@4.3.1 and after this compiled npm install -f … Now the path problem is solved. Thank you

1 Like