Validation error after 0.31.1 update #169
Comments
@marcusmotill We've had users report very similar errors off and on, but we're still unable to track down the problem. I personally believe it's an Atom bug, where an old config schema somehow gets left behind. This is Atom, not our plugin, that's throwing the error, despite our config clearing asking for a string, and it working for most users: https://github.com/prettier/prettier-atom/blob/master/src/config-schema.json#L132 A couple of months ago, this did use to be an integer type, which would throw the error you're seeing. I would try somehow clearing any atom cache or maybe even restarting your computer? Please let us know if you figure out how to fix it. |
I went into my config.cson file and change the value from a string to an integer manually and it worked. Clearing cache and restarting did not work |
@marcusmotill Yess!!!! Thank you so much for figuring that out and reporting back! |
I don't understand how this keeps happening. It might keep happening on every update. @marcusmotill Did you try to open DevTools and see if there was any error/warning in the console? |
I have same problem. After manualy change number of tabs in config it works. |
@darahak I did not notice anything in the console but was not vigilantly checking it either. :/ |
If someone gets this error again, could you try this and retry? Open Atom with this CLI option: |
Hey @darahak. I did get the error and tried what you suggested but it didn't work, had to go directly in config.cson |
Thanks @darahak, that worked for me! |
Unable to run prettier from key board shortcut after updating my plugin today.
Error showing up on screen:
Debug:
Here are my settings:
I have tried to unset and reset the tab width setting but it still saves as a string. Seems like there is a cast missing
The text was updated successfully, but these errors were encountered: