July 18, 2021

Install Package Using npm is Stuck

Activities, Android Developer, Ansible, Apache2, Atlassian, Ayo Belajar Linux, Bestpath Network, BLC Telkom Klaten, BSD, Caddy Server, Case Study, Cisco, Cisco Indonesia, Cloud Computing, Cockpit, Custom Weapons, Docker, E-Learning, Engenius, Error, FreeBSD, FreeBSD Indonesia, Komunitas Pengguna Linux Indonesia, KPLI Bulukumba, KPLI Klaten, Lets Encrypt, Linux, MacOS, Microsoft Azure, Microsoft SQL Server, MikroTik, MikroTik Indonesia, MySQL, Nginx, Open edX, OpenSID, Others, PHP, phpMyAdmin, PostgreSQL, Proxmox, Python, Redash, Sendy, SSH, Stories, Subnetting, TP-Link, Ubiquiti, Unix, Virtualization, Windows, X-Mosque, Faizar Septiawan, Icar, siBunglonGanteng, Orang Ganteng, siBunglonLabs, Programmer, SysAdmin, Site Reliability Engineer, Developer, Palugada, Makassar, Ganteng, Gila, Cyclist, Panglima, Setan, Panglima Setan, sibunglon, Ganteng

A few days ago, our team being tried install package for web development dependecies using npm (node package manager). The installation process was carried out as usual, but when installing the package git://github.com/adobe-webplatform/eve.git, the installation process did not finish for several minutes.

I tried to access the package repository, and everything is fine. Then I tried to install the package using the https protocol, the installation process was successful. I think it’s a firewall issue, so i tried to update git configuration, using https protocol instead of using git protocol. I’m using this command.

$ git config --global url."https://".insteadOf git://

After that, retry installing the package using npm and it’s work.