Atom: Cannot find module 'micromatch'(Failed to activate the file-icons package)

Created on 8 Mar 2017  路  3Comments  路  Source: file-icons/atom

Atom Version: 1.14.0
System: Microsoft Windows 10
Thrown From: file-icons package, v2.0.17

Error: Cannot find module 'micromatch'
at Module._resolveFilename (module.js:455:15)
at Module._resolveFilename (E:Atomresourceselectron.asarcommonreset-search-paths.js:35:12)
at Function.Module._resolveFilename (E:Atomresourcesapp.asarsrcmodule-cache.js:383:52)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (E:Atomresourcesapp.asarsrcnative-compile-cache.js:50:27)
at Object. (C:UsersPrinceraul.atompackagesatomlibservicestrategieslinguist-strategy.js:4:20)
at Module._compile (E:Atomresourcesapp.asarsrcnative-compile-cache.js:109:30)
at Object.value [as .js] (E:Atomresourcesapp.asarsrccompile-cache.js:216:21)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (E:Atomresourcesapp.asarsrcnative-compile-cache.js:50:27)
at StrategyManager.init (C:UsersPrinceraul.atompackagesatomlibservicestrategy-manager.js:18:4)
at IconService.init (C:UsersPrinceraul.atompackagesatomlibserviceicon-service.js:15:19)
at Object.activate (C:UsersPrinceraul.atompackagesatomlibmain.js:22:15)
at Package.module.exports.Package.activateNow (E:Atomresourcesapp.asarsrcpackage.js:218:19)
at E:Atomresourcesapp.asarsrcpackage.js:190:32
at Package.module.exports.Package.measure (E:Atomresourcesapp.asarsrcpackage.js:96:15)
at E:Atomresourcesapp.asarsrcpackage.js:183:26
at Package.module.exports.Package.activate (E:Atomresourcesapp.asarsrcpackage.js:180:34)
at PackageManager.module.exports.PackageManager.activatePackage (E:Atomresourcesapp.asarsrcpackage-manager.js:550:34)
at E:Atomresourcesapp.asarsrcpackage-manager.js:531:29
at Config.module.exports.Config.transactAsync (E:Atomresourcesapp.asarsrcconfig.js:337:18)
at PackageManager.module.exports.PackageManager.activatePackages (E:Atomresourcesapp.asarsrcpackage-manager.js:526:19)
at PackageManager.module.exports.PackageManager.activate (E:Atomresourcesapp.asarsrcpackage-manager.js:508:46)
at E:Atomresourcesapp.asarsrcatom-environment.js:814:28

installation

Most helpful comment

@Zewkin When Atom runs, it loads user-installed files and preferences from ~/.atom. Installed packages are loaded from ~/.atom/packages.

In essence, installing a package is just a matter of extracting a zip file to the right location:

  1. Download the latest version of the package
  2. Extract its contents to ~/.atom/packages/file-icons
  3. Install the necessary dependencies:
    ~bash
    cd ~/.atom/packages/file-icons
    apm install .
    ~
  4. Restart Atom

Please let me know if that works.

All 3 comments

Please make sure you've installed this package correctly.

I can't "install this package correctly" because of damn corporate proxy. I've been googling for two days already - nothing worked, the only option for me is to install file-icons manually (i used that how-to), but now I'm getting that error after installation. Is there ANY WAY to make it work? Thanks.

@Zewkin When Atom runs, it loads user-installed files and preferences from ~/.atom. Installed packages are loaded from ~/.atom/packages.

In essence, installing a package is just a matter of extracting a zip file to the right location:

  1. Download the latest version of the package
  2. Extract its contents to ~/.atom/packages/file-icons
  3. Install the necessary dependencies:
    ~bash
    cd ~/.atom/packages/file-icons
    apm install .
    ~
  4. Restart Atom

Please let me know if that works.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

carrodher picture carrodher  路  3Comments

ThatXliner picture ThatXliner  路  4Comments

radiocity picture radiocity  路  3Comments

GHLandy picture GHLandy  路  5Comments

zslabs picture zslabs  路  9Comments