-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Hi
Due to company policies ssh port 22 is blocked, but I can use https instead:
bash-4.3# roc new react-app web-app-react
:
Installing template dependencies… (If this fails you can try to run npm install directly)
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror [email protected]:dlmr/react-router-redux.git /root/.npm/_git-remotes/git-github.1485827954.workers.dev-dlmr-react-router-redux-git-fix-inital-server-load-dist-3ecdc0c9: Cloning into bare repository '/root/.npm/_git-remotes/git-github.1485827954.workers.dev-dlmr-react-router-redux-git-fix-inital-server-load-dist-3ecdc0c9'...
:
npm ERR! ssh: connect to host github.com port 22: Connection refused
npm ERR! fatal: Could not read from remote repository.
bash-4.3# export GIT_SSL_NO_VERIFY=1
bash-4.3# git clone https://github.com/dlmr/react-router-redux.git
Cloning into 'react-router-redux'...
remote: Counting objects: 1394, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 1394 (delta 1), reused 0 (delta 0), pack-reused 1391
Receiving objects: 100% (1394/1394), 262.38 KiB | 182.00 KiB/s, done.
Resolving deltas: 100% (718/718), done.
How can this easily be configured?
Do you have more info about autoconfiguring the roc.config.js.
I try to automate this inside an alpine docker container.
Thanks
Regards MortenB
Metadata
Metadata
Assignees
Labels
No labels