摘要:
来自百度?想必你搜索看到此文章,一定是遇到了和我一样的问题。express 中如果我们使用res.download处理文件下载,中途被取消下载,就会出现以下异常node.js:116 throw e; // process.nextTick error, or 'error' event on first tick ^ Error: Can't remove headers after they are sent. at ServerResponse.removeHeader (http.js:537:11) at Socket. (/usr/local/lib/nod 阅读全文
摘要:
$ vi ~/.bashrc# enable programmable completion features # (you don't need to enable this, if it's already enabled in # /etc/bash.bashrc and /etc/profile# sources /etc/bash.bashrc).if [ -f /etc/bash_completion ]; then . /etc/bash_completionfi若发现/etc/bash_completion文件不存在, 则安装bash-completion$ s 阅读全文