atom-ternjs
atom-ternjs copied to clipboard
Cannot be installed through Atom Install page
This is the only package I cannot install from Settings > Install
page, any idea why?
Hint: it seems a Cygwin path is used, but I don't know why.
Output generated:
Installing “[email protected]” failed.
npm ERR! git clone C:\Users\xxx\.atom\.apm\_git-remotes\https-github-com-ternjs-tern-git-168cdf62 C:\Users\xxx\AppData\Local\Temp\npm-4488-98fd4fd0\git-cache-e50793fa210c\f585fe7d6f4da28770fdd3dc7ddf88a39ad9b105: Cloning into 'C:\Users\xxx\AppData\Local\Temp\npm-4488-98fd4fd0\git-cache-e50793fa210c\f585fe7d6f4da28770fdd3dc7ddf88a39ad9b105'...
npm ERR! git clone C:\Users\xxx\.atom\.apm\_git-remotes\https-github-com-ternjs-tern-git-168cdf62 C:\Users\xxx\AppData\Local\Temp\npm-4488-98fd4fd0\git-cache-e50793fa210c\f585fe7d6f4da28770fdd3dc7ddf88a39ad9b105: fatal: '/cygdrive/c/Users/xxx/.atom/.apm/_git-remotes/https-github-com-ternjs-tern-git-168cdf62/C:\Users\xxx\.atom\.apm\_git-remotes\https-github-com-ternjs-tern-git-168cdf62' does not appear to be a git repository
npm ERR! git clone C:\Users\xxx\.atom\.apm\_git-remotes\https-github-com-ternjs-tern-git-168cdf62 C:\Users\xxx\AppData\Local\Temp\npm-4488-98fd4fd0\git-cache-e50793fa210c\f585fe7d6f4da28770fdd3dc7ddf88a39ad9b105: fatal: Could not read from remote repository.
npm ERR! git clone C:\Users\xxx\.atom\.apm\_git-remotes\https-github-com-ternjs-tern-git-168cdf62 C:\Users\xxx\AppData\Local\Temp\npm-4488-98fd4fd0\git-cache-e50793fa210c\f585fe7d6f4da28770fdd3dc7ddf88a39ad9b105:
npm ERR! git clone C:\Users\xxx\.atom\.apm\_git-remotes\https-github-com-ternjs-tern-git-168cdf62 C:\Users\xxx\AppData\Local\Temp\npm-4488-98fd4fd0\git-cache-e50793fa210c\f585fe7d6f4da28770fdd3dc7ddf88a39ad9b105: Please make sure you have the correct access rights
npm ERR! git clone C:\Users\xxx\.atom\.apm\_git-remotes\https-github-com-ternjs-tern-git-168cdf62 C:\Users\xxx\AppData\Local\Temp\npm-4488-98fd4fd0\git-cache-e50793fa210c\f585fe7d6f4da28770fdd3dc7ddf88a39ad9b105: and the repository exists.
npm ERR! git clone C:\Users\xxx\.atom\.apm\_git-remotes\https-github-com-ternjs-tern-git-168cdf62 C:\Users\xxx\AppData\Local\Temp\npm-4488-98fd4fd0\git-cache-e50793fa210c\f585fe7d6f4da28770fdd3dc7ddf88a39ad9b105:
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.3.2\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.3.2\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\xxx\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\xxx\\.atom\\.apmrc" "install" "C:\\Users\\xxx\\AppData\\Local\\Temp\\d-1151117-8052-r39k4r\\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 'C:\Users\xxx\AppData\Local\Temp\npm-4488-98fd4fd0\git-cache-e50793fa210c\f585fe7d6f4da28770fdd3dc7ddf88a39ad9b105'...
npm ERR! fatal: '/cygdrive/c/Users/xxx/.atom/.apm/_git-remotes/https-github-com-ternjs-tern-git-168cdf62/C:\Users\xxx\.atom\.apm\_git-remotes\https-github-com-ternjs-tern-git-168cdf62' 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>
Is Cygwin overriding the default prompt? I had the same problem with MSYS/bash
on Windows. Try it using atom's package manager through cmd
and it should work fine.