[英]jscs : Expected end of node list but “CommentBlock” found
The reason for the error was because I had commented out a line of JSX in my reactJs component. 错误的原因是因为我在我的reactJs组件中注释了一行JSX。
<Nav pullRight>
{/*/<li><Link to='/auth/login' activeClassName='route--active'>login</Link></li>*/}
</Nav>
Removing the inline comment fixed the issue. 删除内联注释可解决此问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.