Mój wkład
Nie mogę pobrać zależności z mojej pracy Mam błąd połączenia, problemy z serwerem proxy
Odpowiedzi:
1 dla odpowiedzi № 1To mój wkład
Zainstaluj dowolny pakiet z NodeJs, gdy pracujesz w firmie, a ta firma ma proxy, te linie rozwiązują moje życie w mojej pracy. Mam nadzieję, że się przydadzą:
// when you have a package.json and you need install all
npm --proxy http://<your_account>:<your_password>@<ip_address>:<port_number> install
// Set as an environment proxy
npm config set proxy http://<your_account>:<your_password>@<ip_address>:<port_number>
npm config set https-proxy http://<your_account>:<your_password>@<ip_address>:<port_number>
// this is when you have some packages(dependencies) and those are stored on Github
git config --global http.proxy http://<your_account>:<your_password>@<ip_address>:<port_number>
git config --global https.proxy http://<your_account>:<your_password>@<ip_address>:<port_number>
// if you start with IONIC you will need set on the environment the proxy
set PROXY=http://<your_account>:<your_password>@<ip_address>:<port_number>
Do zobaczenia wszystkim