ouuan / fake-luogu-paintboard-server

模拟洛谷冬日绘板服务器,可用于测试脚本。
Apache License 2.0
34 stars 4 forks source link

求助,语法错误是怎么回事 #9

Closed sillycat2 closed 3 years ago

sillycat2 commented 3 years ago

windows10, 安装没报错,git版本2.28.0,node.js版本12.18.3

>fake-luogu-paintboard-server --help yarn run v1.22.10 $ node cmd.js --help C:\Users\您好\fake-luogu-paintboard-server\lib.js:144 const uid = ctx.cookies?._uid; ^

SyntaxError: Unexpected token '.'

sillycat2 commented 3 years ago

已解决,谢谢