Prettier-atom: value.indexOf is not a function

Created on 5 Dec 2017  路  5Comments  路  Source: prettier/prettier-atom

Since the latest updated to prettier-atom, I am constantly getting this error when trying to save a file:

prettier-atom failed: value.indexOf is not a function

Content of the file doesn't matter, nor does file type (JavaScript, SCSS, ...).

external

Most helpful comment

This was a problem in prettier-eslint. Which is fixed now.

All 5 comments

I have the same issue. I have just removed the latest upgrade and reinstalled the a previous version 0.41.0

@mwamodojnr Did this downgrade help? Didn't work for me. Maybe it's a side-effect of another package that has been updated today, although the error clearly comes up in prettier-atom.

It's weird. I got it working by deactivating about half of my add-on packages and reactivating them afterwards. I have no clue why this helped.

This was a problem in prettier-eslint. Which is fixed now.

Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

silvenon picture silvenon  路  5Comments

vyrruss picture vyrruss  路  5Comments

dan-mckay picture dan-mckay  路  7Comments

mgrip picture mgrip  路  5Comments

IljaDaderko picture IljaDaderko  路  5Comments