📜  包含文件 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:17.158000             🧑  作者: Mango

代码示例1
Error: Could not find the include file "('partials/header.ejs')"
    at getIncludePath (D:\server-staycation\node_modules\ejs\lib\ejs.js:165:13)
    at includeSource (D:\server-staycation\node_modules\ejs\lib\ejs.js:309:17)
    at D:\server-staycation\node_modules\ejs\lib\ejs.js:719:26
    at Array.forEach ()
    at Template.generateSource (D:\server-staycation\node_modules\ejs\lib\ejs.js:695:15)
    at Template.compile (D:\server-staycation\node_modules\ejs\lib\ejs.js:572:12)
    at Object.compile (D:\server-staycation\node_modules\ejs\lib\ejs.js:392:16)
    at handleCache (D:\server-staycation\node_modules\ejs\lib\ejs.js:215:18)
    at tryHandleCache (D:\server-staycation\node_modules\ejs\lib\ejs.js:254:16)
    at View.exports.renderFile [as engine] (D:\server-staycation\node_modules\ejs\lib\ejs.js:485:10)