Open Sowed opened 8 years ago
I am having the same issue :(
same issue on version 0.14.1 I also tried running atom as administrator but it didn't help.
are there any news?
I had this occur when running the command from cygwin. If you look closely at the error output you can see that a cygwin path (/cygdrive/c) is combined with a windows path (C:\Users...) to form a bad path.
npm ERR! fatal: '/cygdrive/c/Users/myusername/.atom/.apm/_git-remotes/https-github-com-millermedeiros-rocambole-git-fa28ae6f/C:\Users\myusername.atom.apm_git-remotes\https-github-com-millermedeiros-rocambole-git-fa28ae6f' does not appear to be a git repository
The easiest thing is to run from a Windows command shell (with something like Git for Windows in your path).
Installing “react@0.12.10” failed.
npm ERR! git clone C:\Users\myusername.atom.apm_git-remotes\https-github-com-millermedeiros-rocambole-git-fa28ae6f C:\Users\myusername\AppData\Local\Temp\npm-1036-ae33b59a\git-cache-30f7a7b8d919\1bd5044df1d6c888a1bd1b511158fb34b011e9aa: Cloning into 'C:\Users\myusername\AppData\Local\Temp\npm-1036-ae33b59a\git-cache-30f7a7b8d919\1bd5044df1d6c888a1bd1b511158fb34b011e9aa'...
npm ERR! git clone C:\Users\myusername.atom.apm_git-remotes\https-github-com-millermedeiros-rocambole-git-fa28ae6f C:\Users\myusername\AppData\Local\Temp\npm-1036-ae33b59a\git-cache-30f7a7b8d919\1bd5044df1d6c888a1bd1b511158fb34b011e9aa: fatal: '/cygdrive/c/Users/myusername/.atom/.apm/_git-remotes/https-github-com-millermedeiros-rocambole-git-fa28ae6f/C:\Users\myusername.atom.apm_git-remotes\https-github-com-millermedeiros-rocambole-git-fa28ae6f' does not appear to be a git repository
npm ERR! git clone C:\Users\myusername.atom.apm_git-remotes\https-github-com-millermedeiros-rocambole-git-fa28ae6f C:\Users\myusername\AppData\Local\Temp\npm-1036-ae33b59a\git-cache-30f7a7b8d919\1bd5044df1d6c888a1bd1b511158fb34b011e9aa: fatal: Could not read from remote repository. PS:: I am completely sure it's not about my internet connection, I can ping github perfectly
npm ERR! git clone C:\Users\myusername.atom.apm_git-remotes\https-github-com-millermedeiros-rocambole-git-fa28ae6f C:\Users\myusername\AppData\Local\Temp\npm-1036-ae33b59a\git-cache-30f7a7b8d919\1bd5044df1d6c888a1bd1b511158fb34b011e9aa: npm ERR! git clone C:\Users\myusername.atom.apm_git-remotes\https-github-com-millermedeiros-rocambole-git-fa28ae6f C:\Users\myusername\AppData\Local\Temp\npm-1036-ae33b59a\git-cache-30f7a7b8d919\1bd5044df1d6c888a1bd1b511158fb34b011e9aa: Please make sure you have the correct access rights PS:: I went ahead to change permissions and access rights to the .apm folder and gave everyone "Full Control', same error
npm ERR! git clone C:\Users\myusername.atom.apm_git-remotes\https-github-com-millermedeiros-rocambole-git-fa28ae6f C:\Users\myusername\AppData\Local\Temp\npm-1036-ae33b59a\git-cache-30f7a7b8d919\1bd5044df1d6c888a1bd1b511158fb34b011e9aa: and the repository exists. PS:: Well if it exists...?
npm ERR! git clone C:\Users\myusername.atom.apm_git-remotes\https-github-com-millermedeiros-rocambole-git-fa28ae6f C:\Users\myusername\AppData\Local\Temp\npm-1036-ae33b59a\git-cache-30f7a7b8d919\1bd5044df1d6c888a1bd1b511158fb34b011e9aa: npm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\Users\myusername\AppData\Local\atom\app-1.2.4\resources\app\apm\bin\node.exe" "C:\Users\myusername\AppData\Local\atom\app-1.2.4\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\myusername.atom.apm.apmrc" "--userconfig" "C:\Users\myusername.atom.apmrc" "install" "C:\Users\myusername\AppData\Local\Temp\d-1151110-9832-1aghraj\package.tgz" "--target=0.34.0" "--arch=ia32" "--msvs_version=2013" npm ERR! node v0.10.40 npm ERR! npm v2.13.3 npm ERR! code 128
npm ERR! Command failed: Cloning into 'C:\Users\myusername\AppData\Local\Temp\npm-1036-ae33b59a\git-cache-30f7a7b8d919\1bd5044df1d6c888a1bd1b511158fb34b011e9aa'...
npm ERR! fatal: '/cygdrive/c/Users/myusername/.atom/.apm/_git-remotes/https-github-com-millermedeiros-rocambole-git-fa28ae6f/C:\Users\myusername.atom.apm_git-remotes\https-github-com-millermedeiros-rocambole-git-fa28ae6f' does not appear to be a git repository
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
PS::Am confused about the fact that inside my .apm folder, I have the react folder having versions up to the latest 0.12.11. Iam still wondering why in my settings, the react package is still marked as install instead of update. Am I missing anything here? Please help, am new to the atom editor, just switched from brackets.