500 TypeError: E:\nodejs\lianxi\microblog\views\index.ejs:14
12| <%- partial(‘say’)%>
13| <%}%>
>> 14| <%- partial(‘posts’)%>
15|
16|
17|
Carbo 說
path must be a string 12| <%- partial(‘say’)%> 13| <%}%>
14| <%- partial(‘posts’)%> 15| 16| 17| Carbo 說 path must be a string at Object.fs.openSync (fs.js:427:18) at Object.fs.readFileSync (fs.js:284:15) at ServerResponse.partial (E:\nodejs\lianxi\microblog\node_modules\express-partials\index.js:309:19) at eval (eval at (E:\nodejs\lianxi\microblog\node_modules\ejs\lib\ejs.js:242:14), :29:496) at eval (eval at (E:\nodejs\lianxi\microblog\node_modules\ejs\lib\ejs.js:242:14), :29:1117) at E:\nodejs\lianxi\microblog\node_modules\ejs\lib\ejs.js:255:15 at Object.exports.render (E:\nodejs\lianxi\microblog\node_modules\ejs\lib\ejs.js:293:13) at View.exports.renderFile [as engine] (E:\nodejs\lianxi\microblog\node_modules\ejs\lib\ejs.js:323:20) at View.render (E:\nodejs\lianxi\microblog\node_modules\express\lib\view.js:76:8) at Function.app.render (E:\nodejs\lianxi\microblog\node_modules\express\lib\application.js:504:10)