Мій внесок
Я не можу завантажити залежності від своєї роботи У мене помилка підключення, через проблеми з проксі
Відповіді:
1 для відповіді № 1Це мій внесок
Встановіть будь-який пакет від NodeJs, коли ви працюєте в компанії, і ця компанія має проксі-сервіс, ці лінії вирішують моє життя на моїй роботі. Я сподіваюся бути корисним:
// 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>
Побачимо всіх