今天我安装了 Atom 编辑器(手动和使用 choco) - 版本:0.136.0。
之后,我使用 apm link 安装软件包,因为我在公司代理后面,这对我来说是最好的解决方案。
但是,当我打开 Atom 时,出现了很多错误: https ://gist.github.com/patrickmaciel/569f7ad38e47f01210fd
例如:
Failed to load package named 'atom-color-highlight' Error: Cannot find module 'emissary'
at Function.Module._resolveFilename (module.js:344:15)
at Function.Module._load (module.js:286:25)
at Module.require (module.js:373:17)
和...
Uncaught Error: Cannot find module 'season' module.js:346
Error activating package config for “ask-stack” Error {code: "MODULE_NOT_FOUND", stack: (...), message: "Cannot find module 'request'"} c:\ProgramData\chocolatey\lib\Atom.0.136.0\tools\Atom\resources\app\node_modules\settings-view\lib\…:416
Error activating package config for “atom-color-highlight” Error {code: "MODULE_NOT_FOUND", stack: (...), message: "Cannot find module 'emissary'"} c:\ProgramData\chocolatey\lib\Atom.0.136.0\tools\Atom\resources\app\node_modules\settings-view\lib\…:416
Error activating package config for “atom-spotify” Error {code: "MODULE_NOT_FOUND", stack: (...), message: "Cannot find module 'spotify-node-applescript'"} c:\ProgramData\chocolatey\lib\Atom.0.136.0\tools\Atom\resources\app\node_modules\settings-view\lib\…:416
Error activating package config for “autocomplete-plus” Error {code: "MODULE_NOT_FOUND", stack: (...), message: "Cannot find module 'underscore-plus'"} c:\ProgramData\chocolatey\lib\Atom.0.136.0\tools\Atom\resources\app\node_modules\settings-view\lib\…:416
Error activating package config for “autocomplete-snippets” Error {code: "MODULE_NOT_FOUND", stack: (...), message: "Cannot find module 'underscore-plus'"} c:\ProgramData\chocolatey\lib\Atom.0.136.0\tools\Atom\resources\app\node_modules\settings-view\lib\…:416
Error activating package config for “autoprefixer” Error {code: "MODULE_NOT_FOUND", stack: (...), message: "Cannot find module 'autoprefixer-core'"} c:\ProgramData\chocolatey\lib\Atom.0.136.0\tools\Atom\resources\app\node_modules\settings-view\lib\…:416
Error activating package config for “change-case” Error {code: "MODULE_NOT_FOUND", stack: (...), message: "Cannot find module 'change-case'"} c:\ProgramData\chocolatey\lib\Atom.0.136.0\tools\Atom\resources\app\node_modules\settings-view\lib\…:416
Error activating package config for “csscomb” Error {code: "MODULE_NOT_FOUND", stack: (...), message: "Cannot find module 'csscomb'"} c:\ProgramData\chocolatey\lib\Atom.0.136.0\tools\Atom\resources\app\node_modules\settings-view\lib\…:416
Error activating package config for “csslint” Error {code: "MODULE_NOT_FOUND", stack: (...), message: "Cannot find module 'atom-keymap-plus'"} c:\ProgramData\chocolatey\lib\Atom.0.136.0\tools\Atom\resources\app\node_modules\settings-view\lib\…:416
Error activating package config for “emmet” Error {code: "MODULE_NOT_FOUND", stack: (...), message: "Cannot find module 'emmet'"} c:\ProgramData\chocolatey\lib\Atom.0.136.0\tools\Atom\resources\app\node_modules\settings-view\lib\…:416
Error activating package config for “fancy-new-file” Error {code: "MODULE_NOT_FOUND", stack: (...), message: "Cannot find module 'mkdirp'"} c:\ProgramData\chocolatey\lib\Atom.0.136.0\tools\Atom\resources\app\node_modules\settings-view\lib\…:416
Error activating package config for “highlight-line” Error {code: "MODULE_NOT_FOUND", stack: (...), message: "Cannot find module 'event-kit'"} c:\ProgramData\chocolatey\lib\Atom.0.136.0\tools\Atom\resources\app\node_modules\settings-view\lib\…:416
Error activating package config for “jshint” Error {code: "MODULE_NOT_FOUND", stack: (...), message: "Cannot find module 'emissary'"} c:\ProgramData\chocolatey\lib\Atom.0.136.0\tools\Atom\resources\app\node_modules\settings-view\lib\…:416
Error activating package config for “markdown-preview” Error {code: "MODULE_NOT_FOUND", stack: (...), message: "Cannot find module 'fs-plus'"} c:\ProgramData\chocolatey\lib\Atom.0.136.0\tools\Atom\resources\app\node_modules\settings-view\lib\…:416
Error activating package config for “Search” Error {code: "MODULE_NOT_FOUND", stack: (...), message: "Cannot find module 'open'"} c:\ProgramData\chocolatey\lib\Atom.0.136.0\tools\Atom\resources\app\node_modules\settings-view\lib\…:416
Error activating package config for “terminal-status” Error {code: "MODULE_NOT_FOUND", stack: (...), message: "Cannot find module 'domify'"} c:\ProgramData\chocolatey\lib\Atom.0.136.0\tools\Atom\resources\app\node_modules\settings-view\lib\…:416
Error activating package config for “todo-show” Error {code: "MODULE_NOT_FOUND", stack: (...), message: "Cannot find module 'fs-plus'"} c:\ProgramData\chocolatey\lib\Atom.0.136.0\tools\Atom\resources\app\node_modules\settings-view\lib\…:416
Error activating package config for “uglify” Error {code: "MODULE_NOT_FOUND", stack: (...), message: "Cannot find module 'uglify-js'"} c:\ProgramData\chocolatey\lib\Atom.0.136.0\tools\Atom\resources\app\node_modules\settings-view\lib\…:416
Uncaught Error: Cannot find module 'glob'
我不知道如何解决这个问题。
我正在使用 Windows 7。
对不起我的英语不好...
如果您需要更多信息,请告诉我(在否决票之前)