I start off with this
var crypto = require('crypto');
var md5 = crypto.createHash('md5');
and I get this Uncaught TypeError: Object #Crypto has no method 'createHash'
I have no idea what is going on. This should work!
It seems there is no problem in my computer.
my file tree:
Solved my problem. webkit was already using the var crypto so i had to rename it to crypt
var crypt = require('crypto');
var md5 = crypt.createHash('md5');
After #713 it seems to become a kind of frequently asked question.
I've just added a note in wiki for future references.