Limkon / login_serv00

0 stars 2 forks source link

自动运行失败 #1

Open gohomo opened 10 months ago

gohomo commented 10 months ago

我在环境中创建了secret,值按格式写,运行失败代码: login to website这步上 Run xvfb-run --server-args="-screen 0 1280x1024x24" node login.js undefined:2

SyntaxError: Unexpected end of JSON input at JSON.parse () at /home/runner/work/login_serv00/login_serv00/login.js:7:25 at Object. (/home/runner/work/login_serv00/login_serv00/login.js:66:3) at Module._compile (node:internal/modules/cjs/loader:1198:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10) at Module.load (node:internal/modules/cjs/loader:1076:32) at Function.Module._load (node:internal/modules/cjs/loader:911:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:22:47 Error: Process completed with exit code 1.

gohomo commented 10 months ago

已解决,原因出在创建的json设置,在env中创建了