You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After we introduced #227, every time I open a .js file in Atom, I get an error message that appears infinitely. Traced down the issue to the "atom-ternjs" package as disabling it causes the error messages to stop appearing.
We should figure out what's going on and fix it. I'm interested to know if other linters/auto-complete packages in other editors have similar issues. A possible solution is to use an existing webpack npm package that does this for us instead of rolling it on our own.
Atom version: 1.27.0-beta1
atom-ternjs version: 0.18.3
I get the error:
UncaughtException: Error: Command failed: git rev-parse --short HEAD
fatal: Not a git repository (or any of the parent directories): .git . Restarting Server...
As far as I know this is specifically an atom-ternjs thing. I ran into this at work about a year ago. There's not a good way to fix it because when the webpack is executed for tern, it is run outside of your current directory. I've two suggestions that i used, ultimately i went with the latter.
Wrap this in an if(false){} and don't commit it. It will stop tern from trying to execute the code path locally and the errors will stop.
Use typescript for your javascript autocomplete. I can't recall how well this works with atom...i stopped using atom awhile back, but in vscode and vim I've had a far better experience with typescript than tern-js even for javascript.
After we introduced #227, every time I open a
.js
file in Atom, I get an error message that appears infinitely. Traced down the issue to the "atom-ternjs" package as disabling it causes the error messages to stop appearing.We should figure out what's going on and fix it. I'm interested to know if other linters/auto-complete packages in other editors have similar issues. A possible solution is to use an existing webpack npm package that does this for us instead of rolling it on our own.
Atom version: 1.27.0-beta1
atom-ternjs version: 0.18.3
I get the error:
Also, noticed there's a bunch of new linting errors introduced because of this change.
See https://eslint.org/docs/user-guide/integrations for a list of plugins for your preferred editor.
The text was updated successfully, but these errors were encountered: