Typo in console.error