node app.js时express报错cannot find module 'jade'
发布于 2年前 作者 caitou 2202 次浏览

Express 500 Error: Cannot find module ‘jade’ at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at new View (F:\nodejs\microblog\node_modules\express\lib\view.js:43:49) at Function.app.render (F:\nodejs\microblog\node_modules\express\lib\application.js:488:12) at ServerResponse.res.render (F:\nodejs\microblog\node_modules\express\lib\response.js:759:7) at exports.index (F:\nodejs\microblog\routes\index.js:7:7) at callbacks (F:\nodejs\microblog\node_modules\express\lib\router\index.js:164:37) at param (F:\nodejs\microblog\node_modules\express\lib\router\index.js:138:11)

2 回复

package.json里配置了吗?

package.json 有加入jade配置吗?

node_moudle 有jade的包吗?

回到顶部