CNode

使用express遇到的问题

问答
Cchenyiqi发布于10 年前最后回复10 年前3 回复3635 浏览0 收藏

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

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

出现错误 Segmentation fault: 11

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

查看回复

回复 (3)

C
chenyiqi#1·10 年前

segment.png

I
i5ting#2·10 年前

丢到github上,然后我看看吧

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