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, ...).
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!
Most helpful comment
This was a problem in
prettier-eslint. Which is fixed now.