【发布时间】:2013-08-16 00:44:01
【问题描述】:
在我的 Mac 上编译 Jade 文件时出现错误。我已经阅读了太多博客文章,但问题仍然存在。
这是我收到的错误的屏幕截图:
谁能告诉我如何在 Webstrom MAC 中设置翡翠。
在终端中,当我尝试使用此命令进行编译时,出现错误号:156
mandeepgill-macpro:~ mandeepgill$ cd /Applications/MAMP/htdocs
mandeepgill-macpro:htdocs mandeepgill$ cd HTMLCodes
mandeepgill-macpro:HTMLCodes mandeepgill$ cd Sports
mandeepgill-macpro:Sports mandeepgill$ cd public_html
mandeepgill-macpro:public_html mandeepgill$ jade main.jade main.html
/usr/local/lib/node_modules/jade/bin/jade:156
if (err) throw err;
^
Error: EISDIR, open 'main.html'
mandeepgill-macpro:public_html mandeepgill$
【问题讨论】:
-
您的屏幕截图显示的是 WebStorm 的文件观察器设置,而不是错误。您能否发布您用于使用命令行进行编译的确切命令?
-
对不起,我对堆栈溢出编辑器了解不多,所以我在上一篇文章中添加了错误。
-
但问题是我想在 Web Storm 中为翡翠设置文件观察器