我用的是高速公路,今天我出了差错。我重新安装了node.js和高速公路,但我的问题并没有解决。当我使用并运行自动生成的快递应用程序或运行我的另一个应用程序时,我会遇到这样的错误。
本地服务器错误
500 Error: C:\express-app\test\test\views\layout.jade:1<br/> > 1| doctype 5 <br/> 2| html <br/> 3| head <br/> 4| title= title <br/><br/>`doctype 5` is deprecated, you must now use `doctype html`screenShots CMD

发布于 2014-01-13 22:19:03
错误消息说明如何解决该问题:
`doctype 5` is deprecated, you must now use `doctype html`只需在5开始时将_layout.jade更改为html
doctype html
html
head
title= title
# ...这是使用jade@1.0.0所做的许多更改之一。
5文档类型的html简写(@ForbesLindesay)https://stackoverflow.com/questions/21102285
复制相似问题