I have problem with instalation cococapods. I have done following steps in terminal:
~sudo gem update --system
~sudo gem install cocoapods
and after
~pod setup
I have this error message
MacBook-Pro-Aleksandr:~ aleksandrkarpov$ pod setup
Setting up CocoaPods master repo
[!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git master --depth=1
Cloning into 'master'...
fatal: unable to access 'https://github.com/CocoaPods/Specs.git/': Proxy CONNECT aborted
I worked before with cocoapods and it was ok. In this case I don't know what to do. Can anyone help me, please?
I found solution here.
I wrote only in terminal:
git config --global http.proxy
git config --global --unset http.proxy
and it resolved my problem.
Related
I got this error when deploying a project on vercel. I have 4 other projects hosted on vercel and never had this issue before:
warning Pattern ["ethereumjs-abi#git+https://github.com/ethereumjs/ethereumjs-abi.git"]
is trying to unpack in the same destination
"/vercel/.cache/yarn/v6/npm-ethereumjs-abi-0.6.8-ee3994657fa7a427238e6ba92a84d0b529bbcde0/node_modules/ethereumjs-abi"
as pattern ["ethereumjs-abi#^0.6.8"]. This could result in non-deterministic behavior, skipping.
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads ssh://git#github.com/ethereumjs/ethereumjs-abi.git
Directory: /vercel/path0
Output:
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Error: Command "yarn install" exited with 128
deleted the package-lock.json and tried it
I made sure dev dependencies are correctly separated from dependencies.
BUt still same error. I could successfully build with
npm run build
yarn build
locally.
What worked for me was deleting my git repository using:
rm -fr .git
and initializing a new repository in the same directory but this time I didn't use npm , instead used yarn. So make sure to delete package-lock.json and node modules and then run :
yarn
In your package.json you will have this dependency:
"ethereumjs-abi": "github:ethereumjs/ethereumjs-abi"
This kind of reference defaults to access github over ssh, but github have deprecated this mode of access. Instead you should use https like this:
"ethereumjs-abi": "https://github.com/ethereumjs/ethereumjs-abi"
I'm trying to clone a git repo from my corp locally-hosted TFS/devops. However, I get failure:
batch response: Post (...) HTTP_1_1_REQUIRED
I saw recommendation to skip smudge by running git lfs install --skip-smudge
or setting GIT_LFS_SKIP_SMUDGE=1, but then the lfs-provided binaries don't get pulled and I get compile errors.
Solution - Before clone, run: git config --global --replace-all http.version HTTP/1.1
Ref, from the git-lfs developer which added the http.version option: https://github.com/git-lfs/git-lfs/issues/3875#issuecomment-607260728
My question is raised because my build-yocto server ran into the error:
ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository '/mnt/wd2tb/home/Work/skrzg1h_iWg21m_QtHmi/build/downloads/git2/github.com.qtproject.qtenginio.git'...
Fetcher failure for URL: 'git://github.com/qtproject/qtenginio.git;name=qtenginio;branch=5.6;protocol=git'. Unable to fetch URL from any source.
In the meantime, my PC can do that. So, I cloned the qtenginio repo to my local PC.
$ git clone git://github.com/qtproject/qtenginio.git;name=qtenginio;branch=5.6;protocol=git
And copy the downloaded source code above into the downloads/git2/github.com.qtproject.qtenginio.git folder of Yocto project.
Finally, I run the bitbake command.
$ bitbake qtenginio
But the fetch still fails.
Anyone can help me in this case ?
bitbake clones bare git repo, please add option '--bare' and touch a .done file to tell bitbake that do_fetch has been done already:
$ git clone --bare git://github.com/qtproject/qtenginio.git;name=qtenginio;branch=5.6 /mnt/wd2tb/home/Work/skrzg1h_iWg21m_QtHmi/build/downloads/git2/github.com.qtproject.qtenginio.git
$ touch /mnt/wd2tb/home/Work/skrzg1h_iWg21m_QtHmi/build/downloads/git2/github.com.qtproject.qtenginio.git.done
Step 1: download the package by hand (wget, git clone ...)
Step 2: copy the package into ./build/downloads
Step 3: touch a package_name.done file.
Step 4: change permission for the *.done file: chmod 777 package_name.done
I am trying to install the pinny1.0 plugin using bower as:
bower install https://github.com/mobify/pinny.git#pinny-1.0
But meanwhile installing the plugin, I am getting issues as:
bower ECMDERR Failed to execute "git ls-remote --tags --heads
git#github.com:mobify/bellows.git", exit code of #128
Additional error details: Host key verification failed. fatal: Could
not read from remote repository.
Please make sure you have the correct access rights and the repository
exists.
I am not sure how this is redirecting from pinny1.0 to bellows.git.
I have tried to check the issue on Github bug tracking and find some discussion at #1426
but did not get much idea as I am not working on some proxy server.
I had The same Problem with Install packages using Bower.
This Problem happen because bower proxy configuration, you need to make bower use http:// Instead of git:// when install packages. you can Solve this problem using .bowerrc File.
Just create .bowerrc File and set proxy and https-proxy configuration :
{
"proxy" : "http://<host>:<port>",
"https-proxy" : "http://<host>:<port>"
}
More About Bower Documentation for .bowerrc File
There Two Questions about bower proxy configuration in StackOverflow :
First Question , second Question
Update:
IF the First Solution Does not Work, you can try suggest #thebignet into same issue on GitHub
Set proxy, https-proxy and strict-ssl configuration into .bowerrc File :
{
"proxy" : "http://<host>:<port>",
"https-proxy" : "http://<host>:<port>",
"strict-ssl" : false
}
But you must run Command from terminal:
git config --global url."https://".insteadOf git://
That is indeed an odd error. Interestingly, the git URL looks malformed.
git#github.om:mobify/bellows.git
There's no 'c' in .com. It is also weird that pinny is trying to pull bellows in; they're totally unrelated.
Could you let me know what OS and version of bower you're using?
I'll try to reproduce this and let you know if I find anything.
I'm trying to deploy on AWS a spree application.
After setting up elastic-beanstalk and adding to
my_project/.ebextensions/ this .config file
packages:
yum:
git-core: []
container_commands:
bundle:
command: "gem install bundle"
assets:
command: "bundle exec rake assets:precompile"
db:
command: "bundle exec rake db:migrate"
leader_only: true
I use git aws.push to deploy my app, only to get this error message:
Could not find rake-10.1.0 in any of the sources (Bundler::GemNotFound)
double-checking on my gem set, using
bundle show rake
gives me:
... /gems/rake-10.1.0
while looking at the logfile from AWS I find this error:
sh: git: command not found
Git error: command `git clone 'https://github.com/spree/spree.git'
what am I doing wrong?
You'll need to ensure that git is installed on the server.
Try creating a file called:
.ebextensions/YOUR_APPLICATION_NAME.config
which contains
packages:
yum:
git: []
This will install git with yum as part of your deployment.
Another option is to use spree from a gem instead of sourcing it from git.
For more information, check out this article on the AWS Blog about deploying Ruby Applications to Elastic Beanstalk.