Comments (26)
Which version are you using and which version of the plugin are you trying to install?
from atom-jshint.
After a certain update of Atom, it stopped working for me as well.
OSX 10.9.3
Atom: Version 0.115.0 (0.115.0)
Atom Jshint 1.4.3
It is installed, and worked on a previous version of atom, but ceased functioning after the update.
If something (a conditional for example) is left open, it will open atoms console and show parse errors (so it is trying to do its job), but it will not show errors/warnings form linting.
from atom-jshint.
Are you able to provide a stack trace from the console that pops open? That'd be really handy!
from atom-jshint.
Sure, though wont be till Weds as the problem is with my iMac at work.
Cheers,
On 21 July 2014 23:26, Joe Warren [email protected] wrote:
Are you able to provide a stack trace from the console that pops open?
That'd be really handy!—
Reply to this email directly or view it on GitHub
#44 (comment).
from atom-jshint.
When parsing script that is unfinished such as an open conditional such as:
$(document).ready(function(){
if(1==2){
});
I will get a console error such as:
Uncaught Unexpected token: punc ()) (line: 3, col: 1, pos: 43)
Error
at new JS_Parse_Error (/Users/wanderson/.atom/packages/atom-auto-uglify/node_modules/uglify-js/lib/parse.js:196:18)
at js_error (/Users/wanderson/.atom/packages/atom-auto-uglify/node_modules/uglify-js/lib/parse.js:204:11)
at croak (/Users/wanderson/.atom/packages/atom-auto-uglify/node_modules/uglify-js/lib/parse.js:663:9)
at token_error (/Users/wanderson/.atom/packages/atom-auto-uglify/node_modules/uglify-js/lib/parse.js:671:9)
at unexpected (/Users/wanderson/.atom/packages/atom-auto-uglify/node_modules/uglify-js/lib/parse.js:677:9)
at /Users/wanderson/.atom/packages/atom-auto-uglify/node_modules/uglify-js/lib/parse.js:761:17
at /Users/wanderson/.atom/packages/atom-auto-uglify/node_modules/uglify-js/lib/parse.js:710:24
at block_ (/Users/wanderson/.atom/packages/atom-auto-uglify/node_modules/uglify-js/lib/parse.js:984:20)
at /Users/wanderson/.atom/packages/atom-auto-uglify/node_modules/uglify-js/lib/parse.js:957:25
at function_ (/Users/wanderson/.atom/packages/atom-auto-uglify/node_modules/uglify-js/lib/parse.js:962:15) /Users/wanderson/.atom/packages/atom-auto-uglify/node_modules/uglify-js/lib/parse.js:204
Otherwise code such as
$(document).ready(function(){
if(1==2){
console.log()
}
});
no longer shows any warnings on the screen window log area on Atom. This worked before, and on this machine, the OS has not been updated though atom has.
from atom-jshint.
Okay, that stack trace looks like an error in the 'atom-auto-uglify' package. If you disable that do you still get the error?
from atom-jshint.
Sorry about that. When disabled, I get an error for jshint when a statement is unfinished/missing a closing curly
Uncaught TypeError: Cannot call method 'getBuffer' of undefined /Users/wanderson/.atom/packages/atom-jshint/lib/atom-jshint.js:58
from atom-jshint.
Turns out I don't even get the console popping open:
from atom-jshint.
bump
from atom-jshint.
Sorry - I should of gotten back to you sooner here, what is the actual problem you're getting? It's just plain not working or you're getting errors? Perhaps you have other packages installed that conflict with this one. Maybe try disabling others that you have installed and see if this one then works.
from atom-jshint.
After disabling all other plugins except for this one and the ones default to atom on install. It still does not work on any file I download, create, import/etc. Except it DOES work when viewing its own source in github, but only when opening that file.
Even having the same code in a new .js document does not perform linting.
To me it looks as though it simply isnt even checking through any other files.
from atom-jshint.
I just get absolutely nothing like @william-index is getting. Though haven't tried the suggested file in that repo yet. Will give that a shot tomorrow.
from atom-jshint.
I'm experiencing the same issue, atom-jshint is the only additional (non default) plugin I have enabled, and it doesn't work. It definitely used to work but atom seems to have updated since then, and now it doesn't work.
However, just like @william-index , if I try to view it's source, it works... weird.
Atom v0.120
Running OS X 10.9
Atom-Jshint 1.4.3
from atom-jshint.
I'm really not sure what's causing that to happen, when I get a chance i'll try it out on a fresh installation of Atom and see if I can replicate it. Because at the moment i cannot :(
from atom-jshint.
I haven't seen it working in weeks either. Does it require a config file or anything to start working?
from atom-jshint.
I think you might be on to something with that comment. That would explain it only working when editing a file belonging to this project. Could one of you see if adding a jshintrc file solves the problem? I'll try to sort it out so that it defaults to the default... if it does indeed need one :)
from atom-jshint.
I deleted all installed packages and reinstalled only jshint and it still doesn't want to work.
from atom-jshint.
Adding a jshintrc didn't change anything
from atom-jshint.
same here, no errors showing with a .jshintrc file and a js file filled with gibberish
from atom-jshint.
MacbookPro, Atom-jshint 1.4.3. same issue. Not running for me at all either.
from atom-jshint.
I too am getting this issue. Macbook pro Atom version 0.132
from atom-jshint.
Did you check the console? Alt cmd i.
The .jshontrc file might be malformed. Its very strict about quoting keys, trailing commas, etc..
—
Sjur
On Thu, Aug 28, 2014 at 12:43 AM, Peter Ajtai [email protected]
wrote:
same here, no errors showing with a .jshintrc file and a js file filled with gibberish
Reply to this email directly or view it on GitHub:
#44 (comment)
from atom-jshint.
Same problem, nothing is happening when the plugin is enabled. No errors or warnings are showing in the console. Atom v1.4.3
from atom-jshint.
Same issue here. I've been using the plugin for months with no issues, but with one of the recent atom updates, there's no feedback. Nothing shown in the console either. Atom v0.136.0. I have a .jshintrc file in the root directory of each project.
from atom-jshint.
Same issue here. Nothing in the console, just not working anymore:
- OS X 10.9.4
- Atom 0.136.0
- Atom Jshint 1.4.3
from atom-jshint.
This may have been fixed by #60 please reopen if not the case :)
from atom-jshint.
Related Issues (20)
- Uncaught Error: channel closed HOT 3
- Uncaught Error: channel closed
- Uncaught Error: channel closed HOT 5
- Not working HOT 3
- Uncaught TypeError: Invalid Point: (20, NaN)
- Can't parse config file
- Uncaught Error: channel closed
- Uncaught Error: channel closed HOT 2
- [Non-issue] Variable Assignment In For Loops HOT 1
- Labels break JSHint
- Installing “[email protected]” failed.
- Deprecated selector in `atom-jshint\styles\atom-jshint.less` HOT 6
- Uncaught Error: watch ~/workspace/freelancer/vid2gif/backend/.jshintrc ENOSPC
- Deprecated selector in `atom-jshint/styles/atom-jshint.less` HOT 2
- Uncaught Error: Cannot decorate a destroyed marker
- Deprecated calls on all file type
- E002 Bad Option Value
- Who would like to Fork this and continue the dev from there? HOT 7
- Uncaught Error: Channel closed
- none errors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atom-jshint.