orktes / atom-react

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

Installing “react@0.15.0” failed.Hide output… #163

Open neznayka82 opened 8 years ago

neznayka82 commented 8 years ago

I'm trying to install a package but I have an error, it is overcome without changing the OS

npm ERR! git clone C:\Users\неведомыйруслан.atom.apm_git-remotes\https-github-com-millermedeiros-rocambole-git-fa28ae6f C:\Users\6158~1\AppData\Local\Temp\npm-13584-811755e9\git-cache-5d589752c210\1bd5044df1d6c888a1bd1b511158fb34b011e9aa: Cloning into 'C:\Users\6158~1\AppData\Local\Temp\npm-13584-811755e9\git-cache-5d589752c210\1bd5044df1d6c888a1bd1b511158fb34b011e9aa'... npm ERR! git clone C:\Users\неведомыйруслан.atom.apm_git-remotes\https-github-com-millermedeiros-rocambole-git-fa28ae6f C:\Users\6158~1\AppData\Local\Temp\npm-13584-811755e9\git-cache-5d589752c210\1bd5044df1d6c888a1bd1b511158fb34b011e9aa: error: cannot spawn sh: No such file or directory npm ERR! git clone C:\Users\неведомыйруслан.atom.apm_git-remotes\https-github-com-millermedeiros-rocambole-git-fa28ae6f C:\Users\6158~1\AppData\Local\Temp\npm-13584-811755e9\git-cache-5d589752c210\1bd5044df1d6c888a1bd1b511158fb34b011e9aa: fatal: unable to fork npm ERR! git clone C:\Users\неведомыйруслан.atom.apm_git-remotes\https-github-com-millermedeiros-rocambole-git-fa28ae6f C:\Users\6158~1\AppData\Local\Temp\npm-13584-811755e9\git-cache-5d589752c210\1bd5044df1d6c888a1bd1b511158fb34b011e9aa: npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\Users\неведомыйруслан\AppData\Local\atom\app-1.7.2\resources\app\apm\bin\node.exe" "C:\Users\неведомыйруслан\AppData\Local\atom\app-1.7.2\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\неведомыйруслан.atom.apm.apmrc" "--userconfig" "C:\Users\неведомыйруслан.atom.apmrc" "install" "C:\Users\6158~1\AppData\Local\Temp\d-116321-13756-v2lk6g\package.tgz" "--target=0.36.8" "--arch=ia32" npm ERR! node v0.10.40 npm ERR! npm v2.13.3 npm ERR! code 128

npm ERR! Command failed: Cloning into 'C:\Users\6158~1\AppData\Local\Temp\npm-13584-811755e9\git-cache-5d589752c210\1bd5044df1d6c888a1bd1b511158fb34b011e9aa'... npm ERR! error: cannot spawn sh: No such file or directory npm ERR! fatal: unable to fork npm ERR! npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues

Ulthes commented 8 years ago

Have you tried running apm install react in cmd?

tpidave commented 8 years ago

I have installed Git, Atom, and node.js I am trying to install the plugin 'React' but I keep getting the error message below.

Installing “react@0.15.0” failed.Hide output… Failed to install react because Git was not found.

The react package has module dependencies that cannot be installed without Git.

_You need to install Git and add it to your path environment variable in order to install this package. _ You can install Git by downloading, installing, and launching GitHub for Windows: https://windows.github.com

Run apm -v after installing Git to see what version has been detected.

Could someone help me with a guide as to what is required with the following statement? 'You need to install Git and add it to your path environment variable in order to install this package.'

As a newbie all things were going fine until I tried to install the plugin React. Other plugins installed correctly.

Would really appreciate some advice.

Dave

Ulthes commented 8 years ago

@tpidave Have you installed Git on your system? If not, please download and install it from https://git-scm.com/. Then check in cmd if you have it properly installed by writing:

git --version

You should get something like this:

git version 2.8.1.windows.1

Then try again with

apm install react

Tell me if that worked, if not, we're going have to add git to PATH variable. Also, please tell me, what version of Windows are you running.

RajThakar70 commented 8 years ago

i still got error something like this...BTW i am using Windows 10 pro... capture

johnmullany commented 8 years ago

I'm having the exact same issue on Windows 10.

RajThakar70 commented 8 years ago

You should follow this steps(it might help you): 1.install git bash.[https://github.com/git-for-windows/git/releases/download/v2.9.0.windows.1/Git-2.9.0-64-bit.exe] 2.Open installed folder and copy path of bin. 3.Add that path to the windows path. -Right click start button->System->Advanced System Settings->Environment Variables->System Variables->path->Edit->New->copy that path->Save. 4.Open Git Bash 5.type "apm install react". 6.it will install react. 7.Restart Atom. 8.Done

it worked for me... Now you can install plugins this way. but still i have issue with Terminal plus. I can install it from git bash but its not working properly.

aburgd commented 8 years ago

Just tested

  1. Open Git Bash - don't use ConEmu et al., just Git Bash
  2. Run apm install react@0.16.0 (0.16.0 is latest as of today)
  3. Open Atom
  4. Enjoy React goodness with react!

(Note: Using Windows 10 1607 Home and latest Git)

awhitehouse104 commented 7 years ago

Same issue as OP here, gui provided error (win8) though apm install react worked fine

DevVlad commented 7 years ago

Same here. log: failed

npm ERR! git fetch -a origin (https://github.com/millermedeiros/rocambole.git) fatal: Unable to find remote helper for 'https' npm ERR! Windows_NT 10.0.14393 npm ERR! argv "C:\Users\vladimir.krejci\AppData\Local\atom\app-1.11.1\resources\app\apm\bin\node.exe" "C:\Users\vladimir.krejci\AppData\Local\atom\app-1.11.1\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\vladimir.krejci.atom.apm.apmrc" "--userconfig" "C:\Users\vladimir.krejci.atom.apmrc" "install" "C:\Users\VLADIM~1.KRE\AppData\Local\Temp\d-116912-3208-1v8lven\package.tgz" "--runtime=electron" "--target=0.37.8" "--arch=ia32" "--global-style" npm ERR! node v4.4.5 npm ERR! npm v3.10.5 npm ERR! code 128

npm ERR! Command failed: git -c core.longpaths=true fetch -a origin npm ERR! fatal: Unable to find remote helper for 'https' npm ERR! npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues

SethArchambault commented 7 years ago
 apm install react                              
Installing react to /Users/watchmyfeet/.atom/packages ✗
Unable to download https://www.atom.io/api/packages/react/versions/0.16.1/tarball: 500 Internal Server Error Application error
fobbytommy commented 7 years ago

$ apm install react Installing react to C:\Users\tommy.atom\packages failed

npm ERR! git fetch -a origin (https://github.com/millermedeiros/rocambole.git) fatal: Unable to find remote helper for 'https' npm ERR! Windows_NT 10.0.14393 npm ERR! argv "C:\Users\tommy\AppData\Local\atom\app-1.11.2\resources\app\apm\bin\node.exe" "C:\Users\tommy\AppData\Local\atom\app-1.11.2\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\tommy.atom.apm.apmrc" "--userconfig" "C:\Users\tommy.atom.apmrc" "install" "C:\Users\tommy\AppData\Local\Temp\d-116923-6328-vyiec8\package.tgz" "--runtime=electron" "--target=0.37.8" "--arch=ia32" "--global-style" "--msvs_version=2015" npm ERR! node v4.4.5 npm ERR! npm v3.10.5 npm ERR! code 128

npm ERR! Command failed: git -c core.longpaths=true fetch -a origin npm ERR! fatal: Unable to find remote helper for 'https' npm ERR! npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request: npm ERR! C:\Users\tommy\AppData\Local\Temp\apm-install-dir-116923-6328-8gozw9\npm-debug.log

LegendarySamurai commented 7 years ago

npm ERR! git clone C:\Users\Игорь.atom.apm_git-remotes\git-https-github-com-millermedeiros-rocambole-git-1bd5044df1d6 c888a1bd1b511158fb34b011e9aa-af4fdf85 C:\Users\D395~1\AppData\Local\Temp\npm-8452-b3c6a85d\git-cache-468c55b7\1bd5044df1 d6c888a1bd1b511158fb34b011e9aa: Cloning into 'C:\Users\D395~1\AppData\Local\Temp\npm-8452-b3c6a85d\git-cache-468c55b7\1b d5044df1d6c888a1bd1b511158fb34b011e9aa'... npm ERR! git clone C:\Users\Игорь.atom.apm_git-remotes\git-https-github-com-millermedeiros-rocambole-git-1bd5044df1d6 c888a1bd1b511158fb34b011e9aa-af4fdf85 C:\Users\D395~1\AppData\Local\Temp\npm-8452-b3c6a85d\git-cache-468c55b7\1bd5044df1 d6c888a1bd1b511158fb34b011e9aa: "git-upload-pack 'C:\Users\Игорь.atom.apm_git-remotes\git-https-github-com-millermede iros-rocambole-git-1bd5044df1d6c888a1bd1b511158fb34b011e9aa-af4fdf85'": git-upload-pack 'C:\Users\Игорь.atom.apm_git- remotes\git-https-github-com-millermedeiros-rocambole-git-1bd5044df1d6c888a1bd1b511158fb34b011e9aa-af4fdf85': No such fi le or directory npm ERR! git clone C:\Users\Игорь.atom.apm_git-remotes\git-https-github-com-millermedeiros-rocambole-git-1bd5044df1d6 c888a1bd1b511158fb34b011e9aa-af4fdf85 C:\Users\D395~1\AppData\Local\Temp\npm-8452-b3c6a85d\git-cache-468c55b7\1bd5044df1 d6c888a1bd1b511158fb34b011e9aa: fatal: Could not read from remote repository. npm ERR! git clone C:\Users\Игорь.atom.apm_git-remotes\git-https-github-com-millermedeiros-rocambole-git-1bd5044df1d6 c888a1bd1b511158fb34b011e9aa-af4fdf85 C:\Users\D395~1\AppData\Local\Temp\npm-8452-b3c6a85d\git-cache-468c55b7\1bd5044df1 d6c888a1bd1b511158fb34b011e9aa: npm ERR! git clone C:\Users\Игорь.atom.apm_git-remotes\git-https-github-com-millermedeiros-rocambole-git-1bd5044df1d6 c888a1bd1b511158fb34b011e9aa-af4fdf85 C:\Users\D395~1\AppData\Local\Temp\npm-8452-b3c6a85d\git-cache-468c55b7\1bd5044df1 d6c888a1bd1b511158fb34b011e9aa: Please make sure you have the correct access rights npm ERR! git clone C:\Users\Игорь.atom.apm_git-remotes\git-https-github-com-millermedeiros-rocambole-git-1bd5044df1d6 c888a1bd1b511158fb34b011e9aa-af4fdf85 C:\Users\D395~1\AppData\Local\Temp\npm-8452-b3c6a85d\git-cache-468c55b7\1bd5044df1 d6c888a1bd1b511158fb34b011e9aa: and the repository exists. npm ERR! git clone C:\Users\Игорь.atom.apm_git-remotes\git-https-github-com-millermedeiros-rocambole-git-1bd5044df1d6 c888a1bd1b511158fb34b011e9aa-af4fdf85 C:\Users\D395~1\AppData\Local\Temp\npm-8452-b3c6a85d\git-cache-468c55b7\1bd5044df1 d6c888a1bd1b511158fb34b011e9aa: npm ERR! Windows_NT 10.0.14393 npm ERR! argv "C:\Users\Игорь\AppData\Local\atom\app-1.12.1\resources\app\apm\bin\node.exe" "C:\Users\Игорь \AppData\Local\atom\app-1.12.1\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users \Игорь.atom.apm.apmrc" "--userconfig" "C:\Users\Игорь.atom.apmrc" "install" "C:\Users\D395~1\AppData\Lo cal\Temp\d-1161011-5364-orbdya\package.tgz" "--runtime=electron" "--target=1.3.6" "--arch=ia32" "--global-style" "--m svs_version=2015" npm ERR! node v4.4.5 npm ERR! npm v3.10.5 npm ERR! code 128

npm ERR! Command failed: git -c core.longpaths=true clone C:\Users\Игорь.atom.apm_git-remotes\git-https-github-com-mi llermedeiros-rocambole-git-1bd5044df1d6c888a1bd1b511158fb34b011e9aa-af4fdf85 C:\Users\D395~1\AppData\Local\Temp\npm-8452 -b3c6a85d\git-cache-468c55b7\1bd5044df1d6c888a1bd1b511158fb34b011e9aa npm ERR! Cloning into 'C:\Users\D395~1\AppData\Local\Temp\npm-8452-b3c6a85d\git-cache-468c55b7\1bd5044df1d6c888a1bd1b511 158fb34b011e9aa'... npm ERR! "git-upload-pack 'C:\Users\Игорь.atom.apm_git-remotes\git-https-github-com-millermedeiros-rocambole-git-1bd5 044df1d6c888a1bd1b511158fb34b011e9aa-af4fdf85'": git-upload-pack 'C:\Users\Игорь.atom.apm_git-remotes\git-https-githu b-com-millermedeiros-rocambole-git-1bd5044df1d6c888a1bd1b511158fb34b011e9aa-af4fdf85': No such file or directory npm ERR! fatal: Could not read from remote repository. npm ERR! npm ERR! Please make sure you have the correct access rights npm ERR! and the repository exists. npm ERR! npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request: npm ERR! C:\Users\D395~1\AppData\Local\Temp\apm-install-dir-1161011-5364-1g8i3o4\npm-debug.log

ali-hellani commented 7 years ago

Same issue here.

Ulthes commented 7 years ago

Ok, I think I got it. I'm assuming you might have similar problem as described HERE. Except, in your case, you all have to input something like this into Command Prompt (cmd.exe) (change https to git protocol for github.com):

git config --global url.git://github.com/.insteadOf https://github.com/