The reason for the error was because I had commented out a line of JSX in my reactJs component.
<Nav pullRight>
{/*/<li><Link to='/auth/login' activeClassName='route--active'>login</Link></li>*/}
</Nav>
Removing the inline comment fixed the issue.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.