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

psql: FATAL: role “postgres” does not exist

NOTE: If you installed postgres using homebrew, see the comment from @user3402754 below. Note that the error message does NOT talk about a missing database, it talks about a missing role. Later in the login process it might also stumble over the missing database. But the first step is to check the missing role: What is the … Read more

-bash: export: `=’: not a valid identifier

You cannot put spaces around the = sign when you do: Remove the spaces you have and you should be good to go. If you type: the shell will interpret that as a request to export three names: foo, = and bar. = isn’t a valid variable name, so the command fails. The variable name, equals sign and it’s value must not be … Read more

How to fix request failed on channel 0

When I want to connect to my server like this it gives me two error messages: When I use the parameter -T the first error message goes away. But how to fix the second one? I can’t connect. To other servers I can connect without any problems. I’m on MAC OS 10.9. The parameter -v … Read more

sudo command not found on Cygwin

Cygwin is not a full Linux distribution. Therefore you don’t have sudo or the Debian/Ubuntu package manager apt-get. There is a number of packages available from the Cygwin repository: http://cygwin.com/packages/ You have to chose these packages during setup.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)