Skip to content

SyntaxError: Unexpected end of JSON input #76

@lywly

Description

@lywly

求助

JSON校验过了,没问题,不知道为什么一直报这个错误。
密码在Re6后面还有的,这是识别不全吗?是不是因为密码里有字符吗?比如密码里含有#%&@之类的。

> cloud@1.0.0 start > node --unhandled-rejections=strict ./src/app.js undefined:1 [{"userName":"xxxxx","password":"Re6 SyntaxError: Unexpected end of JSON input at JSON.parse (<anonymous>) at Object.<anonymous> (/home/runner/work/Cloud189Checkin/Cloud189Checkin/accounts.js:1:23) at Module._compile (node:internal/modules/cjs/loader:1364:14) at Module._extensions..js (node:internal/modules/cjs/loader:1422:10) at Module.load (node:internal/modules/cjs/loader:[12](https://github.com/lywly/Cloud189Checkin/actions/runs/10389498844/job/28767643955#step:6:13)03:32) at Module._load (node:internal/modules/cjs/loader:1019:12) at Module.require (node:internal/modules/cjs/loader:1231:19) at require (node:internal/modules/helpers:177:18) at Object.<anonymous> (/home/runner/work/Cloud189Checkin/Cloud189Checkin/src/app.js:25:18) at Module._compile (node:internal/modules/cjs/loader:[13](https://github.com/lywly/Cloud189Checkin/actions/runs/10389498844/job/28767643955#step:6:14)64:[14](https://github.com/lywly/Cloud189Checkin/actions/runs/10389498844/job/28767643955#step:6:15)) Node.js v18.20.4 Warning: Attempt 1 failed. Reason: Child_process exited with error code 1 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions