GYP ERR! build error. stack Error: ‘make’ failed with exit code 2

It worked after deleting package-lock.json and re run npm install

If you are using yarn to build your program delete yarn.lock and re run yarn install

Leave a Comment