Closed Rockster160 closed 6 years ago
Atom: 1.23.3 x64
You're running a pretty outdated version of Atom. Does upgrading not help?
You shouldn't be getting syntax errors unless the extracted package files were corrupt. Could you run this command and tell me what it outputs?
$ shopt -s globstar;
$ shasum ~/.atom/packages/file-icons/lib/{*.js,**/*.js}
Ah. Didn't realize Atom was out of date. Computer was having issues with auto-update, it seems. Reinstalled Atom and all packages and things are looking good now. Thanks for the prompt reply. π
No problem! I should either bump the minimum required Atom version, or investigate exactly what syntax it is that it can't handle... π€
Yeah, I'm using 1.23.3 in OSX 64x, and I'm encountering the same issue. I prefer if there is a minimum version to run it properly :D
Well, setting a minimum version won't do any good now... π If I bumped the version and cut another release, users running v1.23.3
will still be downloading the last (incompatible release).
This issue's been opened by 30 unique visitors, so plenty more people will be complaining, I suspect. Only responsible thing to do is cut a patch release to correct it.
FYI, it's the trailing commas it can't handle. Atom v1.23.3 embeds Node 7.4.0, which doesn't support trailing comma syntax introduced in Node 8+. Forgot how recent that addition was. π
Updated
file-icons
to the latest version this morning and got the error.file-icons
was the only package updated at the time.Happy to answer any questions / supply any more information that could help fix this. It looks like the "bug" is the icons falling back to:
Atom: 1.23.3 x64 Electron: 1.6.15 OS: Mac OS X 10.13.6 Thrown From: file-icons package 2.1.23
Stack Trace
Failed to activate the file-icons package
Non-Core Packages