Such errors are usually brackets, Chinese and English characters, Chinese and English punctuation, spaces in front of the code, especially the copied and pasted code, just remove it.
Similar Posts:
- How to Solve Error makefile:3: *** missing separator. Stop.
- [Solved] Python Error: UnicodeDecodeError: ‘gb2312’ codec can’t decode byte 0xa4 in position… : illegal multibyte sequence
- [Solved] Dom4j parsing XML file error: invalid XML character (Unicode: 0x8)
- Transcoding of system.web.httputility.urlencode in C #
- gitfatal: I don’t handle protocol ‘https’ [How to Solve]
- Error C in creating Chinese table name in MySQL ode:1005 Can ‘t create table .. errno:22 )
- Spring Error: ‘artifactId‘ with value ‘xxxx‘ does not match a valid id pattern.
- [Linux error highlights] IBus input method of Ubuntu system cannot be switched to Pinyin
- Vue Error: “Trailing spaces not allowed”
- How to Solve Git Error: “bash: $’\302\226git’: command not found”