跳到主要内容
CNode

使用express遇到的问题

问答
Cchenyiqi发布于 11 年前最后回复 11 年前
336420

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

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

出现错误 Segmentation fault: 11

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

查看回复

回复 (3)

C
chenyiqi#111 年前

segment.png

I
i5ting#211 年前

丢到github上,然后我看看吧

参与回复

登录后即可参与回复。登录