安装的 node 版本不支持空值赋值运算符(??=)
更换合适的 node 版本就行
更多支持请在 node.green 上查看各种语法支持的版本
参考文章
- tagOffsetsMap SyntaxError Unexpected token Nodetagoffsetsmap syntaxerror unexpected token syntaxerror unexpected token vite syntaxerror unexpected uncaught页面 codepoint syntaxerror unexpected amp my_customer_index syntaxerror unexpected identifier syntaxerror unexpected uncaught invalid syntaxerror unexpected jconstant uncaught syntaxerror unexpected uncaught情况 syntaxerror staticrende unexpected expected unexpected token 39 nvm