Hacker Newsnew | past | comments | ask | show | jobs | submit | ghubcoder's commentslogin

I get this running it in chrome

  Uncaught SyntaxError: Missing initializer in const declaration (at helpers.js:4:14)
Installed and ran with:

  npm install
  npm run start
Any idea what went wrong...?


The assignment (=) is missing from those const declarations, except for the first one; I guess they were hastily converted from function declarations to satisfy modern tastes.


Oops, yeah I just accepted a pull request from the community that broke my helpers module declarations. Just fixed it, thanks for noticing!


Thanks for sorting it.


I'm interested to know if there is a better way of doing this, couldn't seem to find much documentation or examples on waking, only sleeping.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: