500 SyntaxError: Missing catch or finally after try 错误
发布于 12 年前 作者 evanliang 8388 次浏览 最后一次编辑是 8 年前

at Object.Function () at exports.compile (D:\Program Files\nodejs\EvanBlog\node_modules\ejs\lib\ejs.js:209:12) at Object.exports.render (D:\Program Files\nodejs\EvanBlog\node_modules\ejs\lib\ejs.js:245:10) at View.exports.renderFile [as engine] (D:\Program Files\nodejs\EvanBlog\node_modules\ejs\lib\ejs.js:275:22) at View.render (D:\Program Files\nodejs\EvanBlog\node_modules\express\lib\view.js:75:8) at Function.app.render (D:\Program Files\nodejs\EvanBlog\node_modules\express\lib\application.js:504:10) at ServerResponse.res.render [as partial] (D:\Program Files\nodejs\EvanBlog\node_modules\express\lib\response.js:601:7) at D:\Program Files\nodejs\EvanBlog\node_modules\express-partials\index.js:63:11 at View.exports.renderFile [as engine] (D:\Program Files\nodejs\EvanBlog\node_modules\ejs\lib\ejs.js:275:5) at View.render (D:\Program Files\nodejs\EvanBlog\node_modules\express\lib\view.js:75:8)

1 回复

你有个 try { },后面没有 catch (e){ }

回到顶部