Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Received an invalid JSON format #79

Open
cfjedimaster opened this issue Jun 7, 2019 · 1 comment
Open

Error: Received an invalid JSON format #79

cfjedimaster opened this issue Jun 7, 2019 · 1 comment

Comments

@cfjedimaster
Copy link

Testing with an HTML file, and I get this:

✖ Error
Received an invalid JSON format
at /Users/rcamden/projects/textlinttest/targeted-offers.guide.v2.html

✖ Stack trace
Error: Received an invalid JSON format
    at Request._callback (/Users/rcamden/projects/textlinttest/node_modules/gingerbread/index.js:31:23)
    at Request.self.callback (/Users/rcamden/projects/textlinttest/node_modules/request/request.js:185:22)
    at Request.emit (events.js:182:13)
    at Request.<anonymous> (/Users/rcamden/projects/textlinttest/node_modules/request/request.js:1161:10)
    at Request.emit (events.js:182:13)
    at IncomingMessage.<anonymous> (/Users/rcamden/projects/textlinttest/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:273:13)
    at IncomingMessage.emit (events.js:187:15)
    at endReadableNT (_stream_readable.js:1094:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
@azu azu added the bug label Jun 13, 2019
@melg8
Copy link

melg8 commented Apr 8, 2021

I've encountered same issue with regular .md file, using version 2.2.1. Sometimes it happens on check, and sometimes - not, without any changes.
Log example:

✖ Stack trace
Error: Received an invalid JSON format
at /home/user/work/readme.md
    at Request._callback (/nix/store/mcc0fb7sdw48l09cxvj9psw53qwk0zqy-node-dependencies-text_lint_nix-1.0.0/lib/node_modules/gingerbread/index.js:31:23)
    at Request.self.callback (/nix/store/mcc0fb7sdw48l09cxvj9psw53qwk0zqy-node-dependencies-text_lint_nix-1.0.0/lib/node_modules/request/request.js:185:22)
    at Request.emit (events.js:315:20)
    at Request.<anonymous> (/nix/store/mcc0fb7sdw48l09cxvj9psw53qwk0zqy-node-dependencies-text_lint_nix-1.0.0/lib/node_modules/request/request.js:1154:10)
    at Request.emit (events.js:315:20)
    at IncomingMessage.<anonymous> (/nix/store/mcc0fb7sdw48l09cxvj9psw53qwk0zqy-node-dependencies-text_lint_nix-1.0.0/lib/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (events.js:421:28)
    at IncomingMessage.emit (events.js:327:22)
    at endReadableNT (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)

@azu azu added the help wanted label Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants