October 18, 2018

yarn 报错 Something is already running on port 3000. Probably:

yarn start 后,没有 CTRL+C 结束进程,而直接关掉终端导致进程无法关闭时,再次 start 会报出端口占用的错误:Something is already running on port 3000. Probably: node .../start.js(pid 00000) in ... Would you like to run the app on another p...
September 12, 2018

AntDesignVue定制主题的坑

在定制主题的时候,参照Ant Design Vue 文档中 theme 属性的方案配置,配合使用 less-loader 的 modifyVars 的时候报错,爬了很久的坑。在 webpack.base.conf.js 的 rules中添加{ test: /\.less$/, loader: 'less-loader', options: { java...
September 2, 2018

docker run ipv4报错

docker run 时报错WARNING: IPv4 forwarding is disabled. Networking will not work.的解决办法:$ vim /etc/sysctl.conf添加net.ipv4.ip_forward=1,保存退出,重启 network 服务:$ systemctl restart network运行命令$ sysctl net.ipv4....
August 31, 2018

Docker 学习记录

CentOS 7 安装 Docker安装:yum install docker安装后启动:[root@localhost ~]# sudo service docker start Redirecting to /bin/systemctl start docker.service 设置开机启动 [root@localhost ~]# sudo chkconfig docker on ...