halohalospecial / atom-elmjutsu

A bag of tricks for developing with Elm. (Atom package)
https://atom.io/packages/elmjutsu
MIT License
192 stars 24 forks source link

Uncaught TypeError on startup #11

Closed Ryan1729 closed 8 years ago

Ryan1729 commented 8 years ago

Since 2.50 I see the following error when starting up atom:

Uncaught TypeError: _this3.getWorkDirectory is not a function /home/ryan/.atom/packages/elmjutsu/lib/core.js:180

I would normally get the error repeated 2 or 3 times, but if I go to the indicated line and move the guard clause above the setTimeout call that tries to call this.getWorkDirectory, then I only get the error once.

halohalospecial commented 8 years ago

Hi @Ryan1729, thanks for the report! Do you have linter-elm-make installed?

halohalospecial commented 8 years ago

My bad, I forgot to check if linter-elm-make is active in that part. Should be fixed in the latest release (2.5.1).

Ryan1729 commented 8 years ago

That release stopped the errors. Thanks!

For completeness' sake I'll mention that I did have linter-elm-make installed before, but I had uninstalled it before I started seeing the error.