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.

Failed to activate the tree-view package since update new version file-icon

See original GitHub issue

[Enter steps to reproduce:]

Atom: 1.29.0 x64 Electron: 2.0.7 OS: “Arch Linux” Thrown From: tree-view package 0.222.0

Stack Trace

Failed to activate the tree-view package

At normalisePath is not a function

TypeError: normalisePath is not a function
    at IconDelegate.deserialise (/packages/file-icons/lib/service/icon-delegate.js:227:16)
    at /packages/file-icons/lib/service/icon-delegate.js:19:8)
    at IconService.handleResource (/packages/file-icons/lib/service/icon-service.js:54:16)
    at Function.module.exports.Emitter.simpleDispatch (/usr/lib/atom/node_modules/event-kit/lib/emitter.js:27:14)
    at Emitter.module.exports.Emitter.emit (/usr/lib/atom/node_modules/event-kit/lib/emitter.js:156:28)
    at FileSystem.get (/packages/file-icons/node_modules/atom-fs/lib/filesystem.js:92:17)
    at Function.forElement (/packages/file-icons/lib/service/icon-node.js:179:28)
    at /packages/file-icons/lib/service/icon-service.js:93:31)
    at IconServices.updateDirectoryIcon (/usr/lib/atom/node_modules/tree-view/lib/get-icon-services.js:53:31)
    at DirectoryView.module.exports.DirectoryView.updateIcon (/usr/lib/atom/node_modules/tree-view/lib/directory-view.js:85:32)
    at /usr/lib/atom/node_modules/tree-view/lib/directory-view.js:35:24
    at Function.module.exports.Emitter.simpleDispatch (/usr/lib/atom/node_modules/event-kit/lib/emitter.js:27:14)
    at Emitter.module.exports.Emitter.emit (/usr/lib/atom/node_modules/event-kit/lib/emitter.js:156:28)
    at IconServices.setElementIcons (/usr/lib/atom/node_modules/tree-view/lib/get-icon-services.js:40:20)
    at TreeViewPackage.consumeElementIcons (/usr/lib/atom/node_modules/tree-view/lib/tree-view-package.js:45:23)
    at Provider.module.exports.Provider.provide (/usr/lib/atom/node_modules/service-hub/lib/provider.js:34:52)
    at ServiceHub.module.exports.ServiceHub.consume (/usr/lib/atom/node_modules/service-hub/lib/service-hub.js:50:18)
    at Package.activateServices (/usr/lib/atom/src/package.js:400:73)
    at Package.activateNow (/usr/lib/atom/src/package.js:228:14)
    at measure (/usr/lib/atom/src/package.js:201:27)
    at Package.measure (/usr/lib/atom/src/package.js:83:19)
    at activationPromise.Promise (/usr/lib/atom/src/package.js:195:14)
    at new Promise (<anonymous>)
    at Package.activate (/usr/lib/atom/src/package.js:193:32)
    at PackageManager.activatePackage (/usr/lib/atom/src/package-manager.js:684:36)
    at config.transactAsync (/usr/lib/atom/src/package-manager.js:659:30)
    at Config.transactAsync (/usr/lib/atom/src/config.js:866:22)
    at PackageManager.activatePackages (/usr/lib/atom/src/package-manager.js:657:17)
    at PackageManager.activate (/usr/lib/atom/src/package-manager.js:636:44)
    at loadStatePromise.loadState.then (/usr/lib/atom/src/atom-environment.js:857:21)

Commands

Non-Core Packages

atom-beautify 0.33.0 
color-picker 2.3.0 
docblockr 0.13.7 
editorconfig 2.2.2 
emmet 2.4.3 
file-icons 2.1.22 
language-apache 1.8.0 
language-babel 2.85.0 
language-ejs 0.4.0 
language-markdown 0.26.0 
language-nginx 0.8.0 
language-postcss 1.3.1 
language-pug 0.0.22 
language-vue 0.23.1 
minimap 4.29.8 
open-in-browser 0.5.2 
pigments 0.40.2 
split-diff 1.5.2 

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
Alhadiscommented, Aug 12, 2018

Ah, that explains it. Yes, you should install through Atom or checkout the latest tagged release:

$ git checkout v2.1.22

I recommend using Atom, because it’ll keep the package updated for you.

1reaction
GHLandycommented, Aug 12, 2018

Ok, Thanks, it works!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Install: Failed to activate the file-icons package, Cannot ...
Just installed PlatformIO from the main site and I'm seeing this error for every new window opened on OSX 10.11.6. I ran the...
Read more >
Tree View API - Visual Studio Code
This extension will use a treeview to display all Node.js dependencies in the current folder. The steps for adding a treeview are to...
Read more >
virtualtreeview add icon fail - delphi
First of all, you must stop calling ImageList.AddIcon in OnGetImageIndex . I won't repeat the advice in detail but simply refer you to...
Read more >
Cherrytree User Manual
The Cherrytree PPA (Personal Package Archive) must be set to ensure that the latest application version installs. Open the Software and Updates application....
Read more >
Automation 360 v.23 Release Notes
Bot agent update: To use the new features in v.23 (including updates to Recorder packages) and for the Log4j2 vulnerability fix, update 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