jessepollak / command

:black_nib: Making the web better with Slack-like slash commands.
http://slashcommand.club
MIT License
1.11k stars 66 forks source link

Uncaught TypeError: Cannot read property 'replace' of null #49

Closed jforaker closed 8 years ago

jforaker commented 8 years ago

Sometimes on page load I get this error in the console (in development): Uncaught TypeError: Cannot read property 'replace' of null

This error ultimately causes the extension not to run at all. image

Its hard to track down exactly what causes the error because sometimes a refresh causes it to go away, other times it will load fine as expected.. Any thoughts?

jforaker commented 8 years ago

Looks like an issue with webpack-dev-server:

https://github.com/webpack/webpack-dev-server/issues/381

If you set the version to 1.14.0 of webpack-dev-server and reinstall/rebuild it works every time without error.

jessepollak commented 8 years ago

lisa-vertudaches-happy-bunny-thank-you-3oEduJnper1UdNqreg