orktes / atom-react

ReactJS Support for atom (syntax, snippets)
http://orktes.github.io/atom-react/
MIT License
476 stars 80 forks source link

Unable to install with apm in Atom #127

Closed dahuchao closed 8 years ago

dahuchao commented 8 years ago

I have got the same error as #51. The installation doesn't achieve at work behind a proxy but il is all right at home. I put the proxy configuration in the file ~/.atom/.apmrc (http-proxy, https-proxy). With my navigator, i can open the link "https://github.com/millermedeiros/rocambole.git".

The error :

npm WARN addRemoteGit Error: Command failed:
npm WARN addRemoteGit     at ChildProcess.exithandler (child_process.js:658:15)
npm WARN addRemoteGit     at ChildProcess.emit (events.js:98:17)
npm WARN addRemoteGit     at maybeClose (child_process.js:766:16)
npm WARN addRemoteGit     at Process.ChildProcess._handle.onexit (child_process.js:833:5)
npm WARN addRemoteGit  git+https://github.com/millermedeiros/rocambole.git#1bd5044df1d6c888a1bd1b511158fb34b011e9aa resetting
 remote D:\Utilisateurs\pwzf831\.atom\.apm\_git-remotes\https-github-com-millermedeiros-rocambole-git-fa28ae6f because of err
or: { [Error: Command failed: ] killed: false, code: 1, signal: null }
npm ERR! git clone --template=D:\Utilisateurs\pwzf831\.atom\.apm\_git-remotes\_templates --mirror https://github.com/millerme
deiros/rocambole.git D:\Utilisateurs\pwzf831\.atom\.apm\_git-remotes\https-github-com-millermedeiros-rocambole-git-fa28ae6f:
Cloning into bare repository 'D:\Utilisateurs\pwzf831\.atom\.apm\_git-remotes\https-github-com-millermedeiros-rocambole-git-f
a28ae6f'...
npm ERR! git clone --template=D:\Utilisateurs\pwzf831\.atom\.apm\_git-remotes\_templates --mirror https://github.com/millerme
deiros/rocambole.git D:\Utilisateurs\pwzf831\.atom\.apm\_git-remotes\https-github-com-millermedeiros-rocambole-git-fa28ae6f:
fatal: unable to access 'https://github.com/millermedeiros/rocambole.git/': Couldn't resolve proxy '--add'
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "D:\\Utilisateurs\\pwzf831\\AppData\\Local\\atom\\app-1.3.2\\resources\\app\\apm\\bin\\node.exe" "D:\\Utilisate
urs\\pwzf831\\AppData\\Local\\atom\\app-1.3.2\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "D:\
\Utilisateurs\\pwzf831\\.atom\\.apm\\.apmrc" "--userconfig" "D:\\Utilisateurs\\pwzf831\\.atom\\.apmrc" "install" "D:\\UTILIS~
1\\pwzf831\\AppData\\Local\\Temp\\d-1151121-1396-t1lbzf\\package.tgz" "--target=0.34.3" "--arch=ia32"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code 128

npm ERR! Command failed: Cloning into bare repository 'D:\Utilisateurs\pwzf831\.atom\.apm\_git-remotes\https-github-com-mille
rmedeiros-rocambole-git-fa28ae6f'...
npm ERR! fatal: unable to access 'https://github.com/millermedeiros/rocambole.git/': Couldn't resolve proxy '--add'
npm ERR!

Thanks for help.

orktes commented 8 years ago

[cleaning issues] Closing as not related to the plugin.