deno run --allow-net=scrapbox.io --allow-read=./ --allow-env index.ts
error
1
2
3
4
5
6
7
8
9
Exporting a json file from "/blu3mo"...
error: Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0
const { pages } = (await res.json()) as ExportResponse;
^
at JSON.parse (<anonymous>)
at packageData (deno:op_crates/fetch/22_body.js:247:21)
at Response.json (deno:op_crates/fetch/22_body.js:192:18)
at async exportJSON (file:///app/index.ts:39:22)
at async file:///app/index.ts:79:17