亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

訪問app.js入口文件時出現TypeError:view is not a constructor

TypeError: View is not a constructor
? ?at Function.render (/Users/liubo/Desktop/imooc/node_modules/express/lib/application.js:570:12)
? ?at ServerResponse.render (/Users/liubo/Desktop/imooc/node_modules/express/lib/response.js:1008:7)
? ?at /Users/liubo/Desktop/imooc/app.js:13:6
? ?at Layer.handle [as handle_request] (/Users/liubo/Desktop/imooc/node_modules/express/lib/router/layer.js:95:5)
? ?at next (/Users/liubo/Desktop/imooc/node_modules/express/lib/router/route.js:137:13)
? ?at Route.dispatch (/Users/liubo/Desktop/imooc/node_modules/express/lib/router/route.js:112:3)
? ?at Layer.handle [as handle_request] (/Users/liubo/Desktop/imooc/node_modules/express/lib/router/layer.js:95:5)
? ?at /Users/liubo/Desktop/imooc/node_modules/express/lib/router/index.js:281:22
? ?at Function.process_params (/Users/liubo/Desktop/imooc/node_modules/express/lib/router/index.js:335:12)
? ?at next (/Users/liubo/Desktop/imooc/node_modules/express/lib/router/index.js:275:10)

正在回答

2 回答

我安裝了也沒用啊,怎么回事

0 回復 有任何疑惑可以回復我~

我也遇到了這個錯誤,后來npm install jade -s 才解決,評論中的修改都試過也沒有用,安裝了jade就好了

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消
node+mongodb 建站攻略(一期)
  • 參與學習       91828    人
  • 解答問題       921    個

帶你完整實現一個從前端到后端的項目,初中級前端開發工程師必學課程

進入課程

訪問app.js入口文件時出現TypeError:view is not a constructor

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號