Cannot find module `mysql` node.js - Solved
code.i-harness.com › en › qHere is how solved it. First created a proj dir e.g (Users/home/proj) Go to then proj folder. Run npm init (this will create packaje.json). Run (npm install mysql) Check in proj folder, you should see node_modules folder, expand node_modules and you should see mysql folder. Run your app.js.