scenario
Due to the nature of the company can not use Taobao image can only use internal source download dependency process found an internal written but not uploaded NPM dependency package download can not, tried many times thought the source address was wrong later downgraded node version can be used because the version is too high does not support the old dependency package 😅
The solution
(1) Install node version management module N
sudo npm install n -g
(2) Version downgrade/upgrade
Sudo n Version number
(3) Check which versions of Node are currently installed
N the version number
(4) Delete a version
$Â n rm x.x.x