經常遇到Linux安裝卡頓或異常(償試禁用SSL協議)
1 #切換官方源 2 npm config set registry https://registry.npmjs.org 3 4 #臨時禁用SSL校驗 5 npm config set strict-ssl false 6 7 #安裝插件 8 npm -g install js-beautify
1 #切換官方源 2 npm config set registry https://registry.npmjs.org 3 4 #臨時禁用SSL校驗 5 npm config set strict-ssl false 6 7 #安裝插件 8 npm -g install js-beautify