Closed GHLandy closed 6 years ago
The normalisePath
function was recently moved from alhadis.utils
to the atom-fs
module, but those changes haven't been published. It sounds as though that dependency was installed by downloading from the repo's master
branch. :|
Could you copy+paste the contents of ~/.atom/packages/file-icons/node_modules/atom-fs/package.json
, please? Since you're using an Arch Linux port of Atom, it's possible (though unlikely) that files are getting installed incorrectly.
Actually, I haven't bumped this repository's dependencies yet, so it's much more likely that you've installed this package from master
. Did you install file-icons
through Atom's "Packages" panel, or by cloning with git
?
I clone the file-icons
repo into ~/.atom/packages
,because it is faster this way compare to using atom pannel. And I install all dependecies under file-icons
by npm i
, not changing any branch. Need I change it?
{
"_from": "atom-fs@v0.1.4",
"_id": "atom-fs@0.1.4",
"_inBundle": false,
"_integrity": "sha512-QZ5z6kyQP/YiCgIWY3gF6rMrTRyomJzUTkMLQHxOEmgvF+xujpf/OFpRjJqACsf3DDU/eKtUULud23yu0O1b8A==",
"_location": "/atom-fs",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "atom-fs@v0.1.4",
"name": "atom-fs",
"escapedName": "atom-fs",
"rawSpec": "v0.1.4",
"saveSpec": null,
"fetchSpec": "v0.1.4"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/atom-fs/-/atom-fs-0.1.4.tgz",
"_shasum": "4a873a19b484137bc942f656ecb00f4de7760430",
"_spec": "atom-fs@v0.1.4",
"_where": "/home/ghlandy/.atom/packages/file-icons",
"atom-mocha": {
"mocha": {
"require": "chai/should"
}
},
"atomTestRunner": "atom-mocha",
"author": {
"name": "John Gardner",
"email": "gardnerjohng@gmail.com"
},
"bugs": {
"url": "https://github.com/Alhadis/Atom-FS/issues"
},
"bundleDependencies": false,
"dependencies": {
"alhadis.utils": "*"
},
"deprecated": false,
"description": "Filesystem abstraction layer for Atom",
"devDependencies": {
"atom-mocha": "*"
},
"engines": {
"atom": ">=1.13.0"
},
"homepage": "https://github.com/Alhadis/Atom-FS#readme",
"license": "ISC",
"name": "atom-fs",
"repository": {
"type": "git",
"url": "git+https://github.com/Alhadis/Atom-FS.git"
},
"version": "0.1.4"
}
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.
Ok, Thanks, it works!
[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
Commands
Non-Core Packages