Install: Failed to activate the file-icons package, Cannot read property 'Symbol(Symbol.iterator)' of undefined
See original GitHub issueAtom thinks this is the same as #476, but discussion there suggests a separate issue. Filing separately, just to be safe.
- Fresh install of Atom
- Install file-icons package - see error
- Restart Atom – all is well.
Atom Version: 1.13.0 Electron Version: 1.3.13 System: Microsoft Windows 10 Pro Insider Preview Thrown From: file-icons package, v2.0.9
Stack Trace
Failed to activate the file-icons package
At Cannot read property 'Symbol(Symbol.iterator)' of undefined
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
at StrategyManager.query (C:\Users\Mike\.atom\packages\file-icons\lib\service\strategy-manager.js:82:25)
at IconDelegate.getCurrentIcon (C:\Users\Mike\.atom\packages\file-icons\lib\service\icon-delegate.js:167:20)
at new IconNode (C:\Users\Mike\.atom\packages\file-icons\lib\service\icon-node.js:43:20)
at new TreeEntry (C:\Users\Mike\.atom\packages\file-icons\lib\consumers\tree-entry.js:41:19)
at TreeView.track (C:\Users\Mike\.atom\packages\file-icons\lib\consumers\tree-view.js:72:25)
at TreeView.rebuild (C:\Users\Mike\.atom\packages\file-icons\lib\consumers\tree-view.js:63:9)
at TreeView.activate (C:\Users\Mike\.atom\packages\file-icons\lib\consumers\tree-view.js:53:8)
at TreeView.updateStatus (C:\Users\Mike\.atom\packages\file-icons\lib\consumers\consumer.js:166:9)
at TreeView.init (C:\Users\Mike\.atom\packages\file-icons\lib\consumers\tree-view.js:30:8)
at ConsumerManager.init (C:\Users\Mike\.atom\packages\file-icons\lib\consumers\all.js:55:13)
at Object.activate (C:\Users\Mike\.atom\packages\file-icons\lib\main.js:19:13)
at Package.module.exports.Package.activateNow (C:\Users\Mike\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package.js:191:19)
at C:\Users\Mike\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package.js:164:32
at Package.module.exports.Package.measure (C:\Users\Mike\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package.js:94:15)
at C:\Users\Mike\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package.js:157:26
at Package.module.exports.Package.activate (C:\Users\Mike\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package.js:154:34)
at PackageManager.module.exports.PackageManager.activatePackage (C:\Users\Mike\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package-manager.js:550:34)
at C:\Users\Mike\AppData\Local\atom\app-1.13.0\resources\app.asar\node_modules\settings-view\lib\package-manager.js:439:29
at exit (C:\Users\Mike\AppData\Local\atom\app-1.13.0\resources\app.asar\node_modules\settings-view\lib\package-manager.js:73:16)
at triggerExitCallback (C:\Users\Mike\AppData\Local\atom\app-1.13.0\resources\app.asar\src\buffered-process.js:299:11)
at C:\Users\Mike\AppData\Local\atom\app-1.13.0\resources\app.asar\src\buffered-process.js:312:11
at Socket.<anonymous> (C:\Users\Mike\AppData\Local\atom\app-1.13.0\resources\app.asar\src\buffered-process.js:181:9)
at emitOne (events.js:101:20)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:493:12)
Commands
-0:38.9.0 sync-settings:restore (atom-workspace.workspace.scrollbars-visible-always.theme-solarized-light-syntax.theme-one-light-ui)
-0:19.6.0 core:confirm (input.hidden-input)
-0:02.1.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always.theme-solarized-light-syntax.theme-one-light-ui)
Config
{
"core": {
"telemetryConsent": "limited",
"themes": [
"one-light-ui",
"solarized-light-syntax"
]
}
}
Installed Packages
# User
editorconfig, v2.2.0 (active)
file-icons, v2.0.9 (inactive)
git-control, v0.8.2 (inactive)
sync-settings, v0.8.1 (active)
atom-dark-syntax, v0.28.0 (inactive)
atom-dark-ui, v0.53.0 (inactive)
atom-light-syntax, v0.29.0 (inactive)
atom-light-ui, v0.46.0 (inactive)
base16-tomorrow-dark-theme, v1.4.0 (inactive)
base16-tomorrow-light-theme, v1.4.0 (inactive)
one-dark-ui, v1.8.2 (inactive)
one-light-ui, v1.8.2 (active)
one-dark-syntax, v1.6.0 (inactive)
one-light-syntax, v1.6.0 (inactive)
solarized-dark-syntax, v1.1.1 (inactive)
solarized-light-syntax, v1.1.1 (active)
about, v1.7.2 (active)
archive-view, v0.62.0 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.14.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.33.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.29.0 (inactive)
autosave, v0.23.2 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.43.2 (active)
bracket-matcher, v0.85.1 (active)
command-palette, v0.39.1 (inactive)
deprecation-cop, v0.55.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.204.5 (inactive)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.2.0 (active)
go-to-line, v0.31.2 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.60.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.1 (active)
link, v0.31.2 (inactive)
markdown-preview, v0.159.1 (active)
metrics, v1.1.2 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.2 (inactive)
settings-view, v0.244.0 (active)
snippets, v1.0.4 (active)
spell-check, v0.68.5 (active)
status-bar, v1.6.0 (active)
styleguide, v0.48.0 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.103.1 (active)
timecop, v0.33.2 (active)
tree-view, v0.211.1 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.35.0 (active)
wrap-guide, v0.39.0 (active)
language-c, v0.54.0 (active)
language-clojure, v0.22.1 (active)
language-coffee-script, v0.48.1 (active)
language-csharp, v0.13.0 (active)
language-css, v0.40.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.43.0 (active)
language-html, v0.47.1 (active)
language-hyperlink, v0.16.1 (active)
language-java, v0.24.0 (active)
language-javascript, v0.122.0 (active)
language-json, v0.18.3 (active)
language-less, v0.29.6 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.37.0 (active)
language-php, v0.37.3 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.1 (active)
language-ruby, v0.70.2 (active)
language-ruby-on-rails, v0.25.1 (active)
language-sass, v0.57.0 (active)
language-shellscript, v0.23.0 (active)
language-source, v0.9.0 (active)
language-sql, v0.25.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.29.1 (active)
language-toml, v0.18.1 (active)
language-xml, v0.34.12 (active)
language-yaml, v0.27.1 (active)
# Dev
No dev packages
Issue Analytics
- State:
- Created 7 years ago
- Reactions:5
- Comments:49 (13 by maintainers)
Top Results From Across the Web
Cannot read property 'Symbol(Symbol.iterator)' of undefined
The only answer here is that you didn't use "function", so your "this" is not your "users". This would work:
Read more >[FTP Upload] Cannot read property 'Symbol(Symbol.iterator ...
This issue is about FTP upload task in azure devops. We have this error in each deployment, we have to try several times...
Read more >typeerror: object is not iterable (cannot read property symbol ...
Trying to loop through my array and I am facing the below error: TypeError: object null is not iterable (cannot read property Symbol(Symbol.iterator))....
Read more >atom-ternjs - Bountysource
UncaughtException: TypeError: Cannot read property 'getProp' of undefined. Restarting Server... image ... Failed to activate the atom-ternjs package
Read more >testcafe | Yarn - Package Manager
If the action target does not fit the visibility criteria, TestCafe outputs an error message that references the exact reason. (#7310).
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
I’m so sorry for the slow response, guys. 😦 Been preoccupied with trying to fix other issues (specifically, unemployment/money/real-world crap, etc).
Fixed, and will cut a release shortly.
Error shows after install only. After restart the plugin works.