各种语言换源

一. nodejs

设置taobao源:

npm config set registry https://registry.npm.taobao.org

查看设置:

npm config get registry

安装cnpm:

npm install -g cnpm --registry=https://registry.npm.taobao.org

删除淘宝源

npm config delete registrynpm config delete disturl

二. python

三. php - composer

添加新评论


Fatal error: Uncaught TypeError: Argument 1 passed to Typecho_Common::exceptionHandle() must be an instance of Exception, instance of Error given in /data/www/blognew/var/Typecho/Common.php:251 Stack trace: #0 [internal function]: Typecho_Common::exceptionHandle(Object(Error)) #1 {main} thrown in /data/www/blognew/var/Typecho/Common.php on line 251