在安装使用express时,出现500 Error: Cannot find module jade
nodejs吧
全部回复
仅看楼主
level 11
独角戏1124 楼主
解决方法如下:
https://github.com/visionmedia/jade/issues/270you'll want to add them to your package.json as dependencies, and npm install -d where -d is just for debugging output so you can see if npm is working :D haha otherwise it's very quiet
其意思应该是,你的package.json里没有添加相应的jade依赖配置使用npm install -d 可以自动配置package.json,并安装所有需要依赖的包不知道是否有误,菜鸟勿喷。。。
2012年08月27日 05点08分 1
level 3
我记得安装下jade的扩展就行了。jade比较抽象的HTML模板,有自己的标签 ,推荐用ejs比较简单些。
2012年11月06日 02点11分 2
1