Unexpected token ) - Failed to activate the file-icons package
See original GitHub issueUpdated 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
At Unexpected token )
SyntaxError: Unexpected token )
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:94:52)
at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/src/compile-cache.js:239:29)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (/app.asar/static/index.js:47:45)
at require (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:66:33)
at /packages/file-icons/lib/main.js:7:25)
at Object.activate (/packages/file-icons/lib/main.js:15:7)
at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app/src/package.js:255:25)
at /Applications/Atom.app/Contents/Resources/app/src/package.js:227:38
at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app/src/package.js:99:21)
at /Applications/Atom.app/Contents/Resources/app/src/package.js:220:32
at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app/src/package.js:217:40)
at PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:695:42)
at config.transactAsync (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:670:36)
at Config.module.exports.Config.transactAsync (/Applications/Atom.app/Contents/Resources/app/src/config.js:367:24)
at PackageManager.activatePackages (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:668:23)
at PackageManager.activate (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:647:50)
at /Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:865:36
Non-Core Packages
Atom-Syntax-highlighting-for-Sass 0.5.0
autocomplete-ruby 0.2.8
change-case 0.6.5
clipboard-plus 0.5.1
color-picker 2.3.0
css-declaration-sorter 1.2.2
file-icons 2.1.23
git-diff-details 1.4.0
minimap 4.29.8
minimap-git-diff 4.3.1
multi-cursor-aligner 0.0.0
multi-cursor-increment 0.1.1
multi-select-switch 0.0.0
multiclip 0.0.0
pigments 0.40.2
rails-latest-migration 1.1.6
rails-transporter 1.7.1
rainbow-delimiters 2.1.2
svg-preview 0.12.1
tablr 1.8.3
toggle-quotes 1.1.1
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
NPM install error "Unexpected token < in JSON at position 0"
Do the following: Delete the node_modules folder. Delete package-lock.json file. Run npm install again.
Read more >233038 – SASS parser issues
is underlined, with unexpected token ERROR, SEMI and RPAREN. If I remove white spaces to @function composeURL($a, $b) { @return url($a+$b); } ...
Read more >A File Icon - Package Control
This package adds file-specific icons to Sublime Text for improved visual grepping. It's heavily inspired by Atom File Icons. Its aims are:.
Read more >Most Recent - M-Files Customer Support Portal
Does M-Files DocuSign support VAF token authentication instead of user account+password ... Advanced Outlook Plugin - License Activation Failed.
Read more >export default from" doesn't work with Babel React-Reactjs
How to use. npm install babel-preset-stage-1 --save-dev; edit file package.json and add stage-1 to the presets section in babel .
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Okay, fixed in
v2.1.24
. That’ll be the lastfile-icons
release to support this particular version. 😉 Anybody still running an outdated Atom version should, well, upgrade manually.No problem! I should either bump the minimum required Atom version, or investigate exactly what syntax it is that it can’t handle… 🤔