我在环境中创建了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.
我在环境中创建了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.