简体   繁体   English

Jade意外令牌错误

[英]Jade unexpected token error

I'm new to jade and kind of stuck with this error. 我是玉器的新手,有点被这个错误困扰。 Greatly appreciated if anyone could help. 非常感谢任何人能提供帮助。

 section.page_intro
            .page_intro_body.effect2
              h1 Bangkok Tours & Daytrips
              h2 Daytrips and Tour Packages in Bangkok
              //
                Social
              #social

events.js:72
    throw er; // Unhandled 'error' event
          ^
1446|           section.page_intro
1447|             .page_intro_body.effect2

1448| 1448 | h1 Bangkok Tours & Daytrips 1449| h1曼谷一日游1449 | h2 Daytrips and Tour Packages in Bangkok 1450| 曼谷h2一日游和旅游套餐1450 | #social 1451| #social 1451 | .fb_like .fb_like

Unexpected token attrs expected text , code , : , newline or eos 意外的令牌attrs期望的textcode:newlineeos

I think I got it. 我想我明白了。 Problem solved after removing the fb integration #social then added back later after compile. 删除fb集成#social后解决了问题,然后在编译后再添加回去。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM