ipcMain and ipcRenderer dont work

when i try to sent a message to index.js dont make anything

this is the javascript in the window:
1

and this is index.js

ipcMain.on(‘cerrarv’,(event)=>{

console.log("hola");
app.quit();

});

please help.