在Windows中安装autocomplete-plus软件包

Leo*_*eoh 3 atom-editor

我试图在Windows中安装Atom Editor的autocomplete-plus插件,但当我这样做时,我得到一个错误说:(我有git&chocolatey安装)....其他软件包如minimap同样问题blablaaa blaaaaaaa with themes apm install [theme ]安装没问题

C:\Windows\system32>apm install autocomplete-plus
Installing autocomplete-plus to C:\Users\*\.atom\packages failed

npm http GET https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/emissary
npm http GET https://registry.npmjs.org/underscore-plus
npm http GET https://registry.npmjs.org/temp
npm http GET https://registry.npmjs.org/fuzzaldrin
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/underscore-plus
npm http 304 https://registry.npmjs.org/fuzzaldrin
npm http 304 https://registry.npmjs.org/emissary
npm http 304 https://registry.npmjs.org/semver
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/temp
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/mixto
npm http GET https://registry.npmjs.org/property-accessors
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/lru-cache
npm ERR! git fetch -a origin (https://github.com/Benvie/harmony-collections.git)
fatal: Unable to find remote helper for 'https'
npm ERR! Error: Command failed: fatal: Unable to find remote helper for 'https'
npm ERR!
npm ERR!     at ChildProcess.exithandler (child_process.js:648:15)
npm ERR!     at ChildProcess.emit (events.js:98:17)
npm ERR!     at maybeClose (child_process.js:756:16)
npm ERR!     at Socket.<anonymous> (child_process.js:969:11)
npm ERR!     at Socket.emit (events.js:95:17)
npm ERR!     at Pipe.close (net.js:465:12)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\ProgramData\\chocolatey\\lib\\Atom.0.150.0\\tools\\Atom\\r
esources\\app\\apm\\node_modules\\atom-package-manager\\bin\\\\node.exe" "C:\\Pr
ogramData\\chocolatey\\lib\\Atom.0.150.0\\tools\\Atom\\resources\\app\\apm\\node
_modules\\atom-package-manager\\node_modules\\npm\\bin\\npm-cli.js" "--globalcon
fig" "C:\\ProgramData\\chocolatey\\lib\\Atom.0.150.0\\tools\\Atom\\resources\\ap
p\\apm\\node_modules\\atom-package-manager\\.apmrc" "--userconfig" "C:\\Users\\l
gaona\\.atom\\.apmrc" "install" "C:\\Users\\*\\.atom\\.node-gyp\\.atom\\.ap
m\\autocomplete-plus\\0.22.3\\package.tgz" "--target=0.18.0" "--arch=ia32"
npm ERR! cwd C:\Users\*\AppData\Local\Temp\apm-install-dir-1141027-4616-1si
7t3x
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.4
npm ERR! code 128
npm http 304 https://registry.npmjs.org/mixto
npm http 304 https://registry.npmjs.org/underscore
npm http 304 https://registry.npmjs.org/property-accessors
npm http 304 https://registry.npmjs.org/rimraf 
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/sigmund
npm
Run Code Online (Sandbox Code Playgroud)

nwi*_*ler 6

在以下位置描述了与Atom相关的相同错误:

看起来人们通过以下步骤解决了这个问题:

  • 验证git命令是否在PATH上.
  • 使用PowerShell运行命令而不是cmdgit-bash.
  • 以管理员模式运行PowerShell.

你能试着看看它们对你的情况有帮助吗?