Closed mukkamal closed 6 years ago
Please restart Atom, and the problem will fix itself. See https://github.com/file-icons/atom/issues/678#issuecomment-347742330.
after restart the problem not fixed
Atom: 1.20.1 x64 Electron: 1.6.9 OS: Mac OS X 10.11.6 Thrown From: file-icons package 2.1.14
Failed to activate the file-icons package
At Error parsing /Users/a.gurtovoy/.atom/packages/file-icons/node_modules/unset-value/node_modules/has-value/package.json: Unexpected end of JSON input
SyntaxError: Error parsing /Users/a.gurtovoy/.atom/packages/file-icons/node_modules/unset-value/node_modules/has-value/package.json: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at readPackage (module.js:92:52)
at tryPackage (module.js:102:13)
at Function.Module._findPath (module.js:183:20)
at Module._resolveFilename (module.js:468:25)
at Module._resolveFilename (/Applications/Atom.app/Contents/Resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.get_Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app/src/module-cache.js:354:58)
at Module.require (Applications/Atom.app/Contents/Resources/app/static/index.js:40:43)
at require (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:66:33)
at /packages/file-icons/node_modules/unset-value/index.js:11:11)
at /packages/file-icons/node_modules/unset-value/index.js:34:3)
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:106:36)
at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/src/compile-cache.js:239:29)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (Applications/Atom.app/Contents/Resources/app/static/index.js:47:45)
at require (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:66:33)
at /packages/file-icons/node_modules/cache-base/index.js:8:11)
at /packages/file-icons/node_modules/cache-base/index.js:263:3)
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:106:36)
at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/src/compile-cache.js:239:29)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (Applications/Atom.app/Contents/Resources/app/static/index.js:47:45)
at require (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:66:33)
at /packages/file-icons/node_modules/base/index.js:5:17)
at /packages/file-icons/node_modules/base/index.js:437:3)
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:106:36)
activate-power-mode 2.6.0
aesthetic-ui 4.0.0
atom-ide-ui 0.6.0
atom-like-brackets-editor 1.2.0
atom-material-ui 2.0.6
atom-monokai 0.10.9
atom-ternjs 0.18.3
auto-detect-indentation 1.3.0
autoclose-html 0.23.0
autocomplete-modules 1.8.0
autocomplete-paths 2.12.1
blame 1.0.1
busy-signal 1.4.3
color-tabs 0.1.8
colorful-json 1.1.0
comment 0.6.1
duplicate-line-or-selection 0.9.0
emmet 2.4.3
es6-javascript 1.0.0
file-icons 2.1.14
filecolor 0.4.0
fold-functions 0.5.0
fold-lines 0.2.2
git-blame 1.3.1
git-control 0.9.0
git-plus undefined
git-status 0.3.4
git-time-machine 1.5.9
guess-indent 0.1.0
highlight-bad-chars 1.0.7
highlight-selected 0.13.1
hyperclick 0.0.0
ide-typescript 0.6.1
indent-detective 0.1.1
indent-guide-improved 1.4.13
indent-toggle-on-paste 0.1.3
indent-tooltip 0.3.1
intentions 1.1.5
js-hyperclick 1.12.2
language-dot-template 0.2.0
language-javascript-jsx 0.3.7
language-mjml 1.10.0
language-plantuml 0.2.0
language-postcss 1.3.1
language-pug 0.0.21
language-twig 1.6.3
language-volt 0.2.2
lines 0.13.1
linter 2.2.0
linter-eslint 8.4.0
linter-ui-default 1.6.10
linter-xo 0.23.1
markdown-folder 0.5.0
markdown-scroll-sync 2.1.2
monokai 0.24.0
monokai-seti 0.9.0
motepair 0.24.0
npm-install 4.0.4
npm-plus 0.4.0
pigments 0.40.2
plantuml-viewer 0.7.2
platformio-ide-terminal 2.7.0
prettier-atom 0.43.0
project-manager 3.3.5
prompt-big-file 0.4.0
react 0.17.0
react-snippets 1.0.1
remember-folds 0.3.0
semanticolor 3.5.5
set-syntax 0.4.0
seti-ui 1.9.0
simple-drag-drop-text 0.3.6
styles-highlighter 2.4.0
Stylus 3.1.1
stylus-autocompile 0.6.1
sublime-block-comment 0.5.1
svg-preview 0.12.1
sync-settings 0.8.3
tool-bar-markdown-writer 0.3.0
trailing-spaces 0.4.0
turbo-javascript 1.4.0
umd-snippets 0.1.1
Okay, that's actually a very different issue, but still an unrelated one. It sounds like something didn't download correctly, and you were installing from command-line:
At Error parsing /Users/a.gurtovoy/.atom/packages/file-icons/node_modules/unset-value/node_modules/has-value/package.json: Unexpected end of JSON input
SyntaxError: Error parsing /Users/a.gurtovoy/.atom/packages/file-icons/node_modules/unset-value/node_modules/has-value/package.json: Unexpected end of JSON input
You should be able to fix this by clearing your local cache and trying again. Just follow these steps. Let me know if you're still having troubles.=)
solved. thanx
[Enter steps to reproduce:]
Atom: 1.22.1 x64 Electron: 1.6.15 OS: Mac OS X 10.13.1 Thrown From: file-icons package 2.1.14
Stack Trace
Failed to activate the file-icons package
Commands
Non-Core Packages