You need pullups on SDA and SCL if you don't have them already. 10k ohm resistor from SDA to Vcc, and SCL to Vcc.
I2C1.setup({scl:B8,sda:B9}); //okay
var eeprom=require("AT24").connect(I2C2, 8, 256, 1); //you're passing I2C2, but you just set up I2C1, not I2C2
console.log(eeprom.read(0x64,"Merhaba Dunya")); //what on earth is this expected to do? the .read() method takes 2 arguments, an address, and a number of bytes. Those look like the arguments you'd use for a write operation.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
You need pullups on SDA and SCL if you don't have them already. 10k ohm resistor from SDA to Vcc, and SCL to Vcc.