FrontendMastersDownloader
FrontendMastersDownloader copied to clipboard
FetchError: invalid json response
? Email address: [email protected]
? Password: **********
/Users/user/.npm/_npx/f2d38d864951ebdc/node_modules/node-fetch/lib/index.js:273
return Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json'));
^
FetchError: invalid json response body at https://fed-hasher.herokuapp.com/timestamp=1684656420 reason: Unexpected token < in JSON at position 0
at /Users/user/.npm/_npx/f2d38d864951ebdc/node_modules/node-fetch/lib/index.js:273:32
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateTimestamp (file:///Users/user/.npm/_npx/f2d38d864951ebdc/node_modules/frontendmasters-downloader/src/fedApi.js:19:10)
at async Object.login (file:///Users/user/.npm/_npx/f2d38d864951ebdc/node_modules/frontendmasters-downloader/src/fedApi.js:51:3)
at async run (file:///Users/user/.npm/_npx/f2d38d864951ebdc/node_modules/frontendmasters-downloader/src/index.js:15:22) {
type: 'invalid-json'
}
Node.js v18.13.0
I have the same issue,
the same issue here.
I think the user's Heroku app is not running anymore.
I am having the same issue as well, i tried in windows powershell and wsl, both giving me same error.
yea, same issue
same
Any update on this issue?