gpt4 book ai didi

atom-editor - 在 Windows 中安装 autocomplete-plus 包

转载 作者:行者123 更新时间:2023-12-01 10:45:17 24 4
gpt4 key购买 nike

我正在尝试在 Windows 中为 Atom Editor 安装 autocomplete-plus 插件,但是当我这样做时,我收到一条错误消息:(我安装了 git & chocolatey )....其他包像 minimap 同样的问题 blablaaa blaaaaaaa使用主题 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

最佳答案

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

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

  • 验证 git 命令在 PATH 上。
  • 使用 PowerShell 代替 cmdgit-bash 运行命令。
  • 以管理员模式运行 PowerShell。

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

关于atom-editor - 在 Windows 中安装 autocomplete-plus 包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27178363/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com