使用express遇到的问题
发布于 8 年前 作者 chenyiqi 2970 次浏览 来自 问答

启动程序使用命令
node --debug app.js

路由匹配的中间件中使用console.log(req); app.get(’/’, function(req, res, next){ console.log(req); });

出现错误 Segmentation fault: 11

程序就终端了,请问这是什么问题?

回到顶部