node.js: cannot find module ‘request’

Go to directory of your project Make this directory a root of your project (this will create a default package.json file) Install required npm module and save it as a project dependency (it will appear in package.json) Create a test.js file in project directory with code from package example Your project directory should look like this Now just run node … Read more

gcloud command not found – while installing Google Cloud SDK

So below is my previous fix for this problem, but it turns out it isn’t permanent. It works but every time you restart Terminal, you’d have to do the same thing which isn’t practical. So that is why I suggest you delete the current google-cloud-sdk directory, and just redo the installation. Be sure (as Zachary … Read more