Blog Archives

Emailing a JavaScript Error

I wanted to get an email whenever my SailsJS (based on ExpressJS) app crashed. My logging stack consists of winston with a custom transport which emails me via AmazonSES. Instead of getting a nice stack trace, all I got was emails with {}

Posted in email, javascript, nodejs, servers, wherewolf Tagged with: , , , , , , ,

Cannot assign to read only property ‘value’ of (begin)

Espresso Server on NodeJS exits with error: Cannot assign to read only property ‘value’ of (begin) Possible contributing factor is upgrading Node from 0.10.x to 0.12.x Solution: Update jslint.js https://github.com/douglascrockford/JSLint/blob/master/jslint.js I was running a very old version (2011-06-07)

Posted in javascript, nodejs Tagged with: , , , ,