Closed brest-amzn closed 3 years ago
Does this happen only on certain file types? I'm having a hard time reproducing the error.
It is happening on all file types (.md, html, txt). It's also occurring for more than one of us, so it's not just me.
Are you using Compatibility or Command Line (new in v1.9) Mode?
I was using Compatibility mode in previous versions. I noticed this is now gone from the "General Tab". I tried switching my mode in the new menu included in the task bar. However, I am still getting the error on all three options " Server Mode, Compatibility Mode, and Command line"
I pushed a new release of the Atom package. I don't expect that it'll fix your issue, but I think it should make it easier to understand what's happening.
My guess is that this is related to upgrading the underlying Vale version (the CLI tool), which is now more explicit about configuration errors.
Quick update here: The latest release:
will now report a much more detailed error message than the one posted above. I think it will (hopefully) make the problem here clear.
requires the lintContext
settings to be set to -1
for 'Fixes' to be available (as explained in package's configuration page). This is required for performance reasons related to how Atom's linter package computes the fixes.
Thanks. The update provided an error that stated it was having problems finding the directory that the vocab file is in. However, I could not figure out exactly how to fix it, as everything seemed fine when I looked through my directory.
The error went away when I created a new config file with the "add" button on the "projects" page. I simply copied and pasted in my config values from the previous config file one and it started working (not sure what the issue is, since I did not change anything in the file).
I realize now it's being caused by this parameter at the top. Removing it fixes the error. Project = "[my-value]".
I updated to Vale 1.9 after opening this ticket. https://github.com/errata-ai/vale-server/issues/43
Vale installs and launches, but I now get an error in Atom
Atom: 1.53.0 x64 Electron: 6.1.12 OS: Microsoft Windows 10 Enterprise Thrown From: vale-server package 1.7.1
Stack Trace
Uncaught TypeError: Cannot read property 'split' of undefined
Commands
Non-Core Packages