question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uncaught TypeError: Cannot create icon-node for empty path

See original GitHub issue

[Enter steps to reproduce:]

Atom: 1.23.0 x64 Electron: 1.6.15 OS: Unknown Windows version Thrown From: file-icons package 2.1.14

Stack Trace

Uncaught TypeError: Cannot create icon-node for empty path

At C:\Users\Edward\.atom\packages\file-icons\lib\service\icon-node.js:174

TypeError: Cannot create icon-node for empty path
    at Function.forElement (/packages/file-icons/lib/service/icon-node.js:174:11)
    at /packages/file-icons/lib/service/icon-service.js:80:31)
    at IconServices.updateMRUIcon (~/AppData/Local/atom/app-1.23.0/resources/app/node_modules/tabs/lib/get-icon-services.js:59:50)
    at MRUItemView.initialize (~/AppData/Local/atom/app-1.23.0/resources/app/node_modules/tabs/lib/mru-item-view.js:67:51)
    at MRUListView.buildListView (~/AppData/Local/atom/app-1.23.0/resources/app/node_modules/tabs/lib/mru-list-view.js:200:24)
    at ~/AppData/Local/atom/app-1.23.0/resources/app/node_modules/tabs/lib/mru-list-view.js:121:46

Commands

     -0:48.5.0 intentions:highlight (input.hidden-input)
     -0:48.5.0 core:save (input.hidden-input)
     -0:48.2.0 editor:newline (input.hidden-input)
     -0:45.9.0 intentions:highlight (input.hidden-input)
     -0:45.8.0 core:undo (input.hidden-input)
     -0:43.6.0 core:move-down (input.hidden-input)
     -0:43.1.0 editor:newline (input.hidden-input)
  3x -0:40.6.0 core:backspace (input.hidden-input)
     -0:28.9.0 editor:newline (input.hidden-input)
     -0:26.7.0 autocomplete-plus:confirm (input.hidden-input)
  5x -0:23.1.0 core:backspace (input.hidden-input)
     -0:20.9.0 intentions:highlight (input.hidden-input)
     -0:20.7.0 core:save (input.hidden-input)
     -0:17.9.0 intentions:highlight (input.hidden-input)
     -0:17.7.0 pane:show-next-recently-used-item (input.hidden-input)
     -0:16.5.0 pane:move-active-item-to-top-of-stack (input.hidden-input)

Non-Core Packages

atom-beautify 0.30.9 
atom-color-the-tag-name 1.14.0 
atom-jade 0.3.0 
atom-live-server 2.2.0 
busy-signal 1.4.3 
color-picker 2.2.5 
emmet 2.4.3 
expand-selection-to-quotes 0.11.0 
file-icons 2.1.14 
fold-navigator 0.0.620 
intentions 1.1.5 
language-pug 0.0.21 
linter 2.2.0 
linter-js-standard 4.1.0 
linter-ui-default 1.6.10 
minimap 4.29.7 
pigments 0.40.2 
teletype 0.3.0 

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Alhadiscommented, Dec 14, 2017

Confirmed with a vanilla Atom install and a blank file tab. I must have missed this because I have the MRU feature disabled… sorry guys. 😞 Will push a hotfix for this.

0reactions
nerochiarocommented, Jan 20, 2018

When I posted the comment I had just installed the deb package for 1.23.3, and pressing ctrl+tab would display the error message. Even restarting atom did not fix the problem.

But I tried again today, and everything seems to work OK. I have no idea why it would do that just after the update.

Sorry for the noise @Alhadis.

Read more comments on GitHub >

github_iconTop Results From Across the Web

'Can not create a Path from an empty string' Error for 'CREATE ...
The issue happens when a database is created without specified location: CREATE DATABASE db_name;. To fix the issue, specify location when ...
Read more >
remote-ftp/CHANGELOG.md at master - GitHub
Contribute to icetee/remote-ftp development by creating an account on ... notification #860; Uncaught TypeError: Cannot read property 'emit' ...
Read more >
Solved - IllegalArgumentException: Cannot set to empty path ...
Hello! I get this error log when I try to make my config file: Could not pass event InventoryCloseEvent to Lmao v1.0 org.bukkit.event....
Read more >
yFiles for HTML - Changelog - yWorks
Changelog of yFiles for HTML, a modern JavaScript graph visualization toolkit for creating, editing, viewing, and automatically arranging graphs, diagrams, ...
Read more >
Spark Issue: Cannot Create a Path from An Empty String
Please read with your own judgement! Issue. java.lang.IllegalArgumentException: Can not create a Path from an empty string. Possible Causes. The ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found