20lives / FrontendMastersDownloader

FrontendMasters Downloader - A tool to keep offline copy of frontendmasters courses
199 stars 41 forks source link

FetchError: invalid json response #55

Open x4th opened 1 year ago

x4th commented 1 year ago
? Email address: user@example.com
? 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
Hambob commented 1 year ago

I have the same issue,

ChillYao commented 1 year ago

the same issue here.

iZarrios commented 1 year ago

I think the user's Heroku app is not running anymore. image

ydv-sahitya commented 1 year ago

I am having the same issue as well, i tried in windows powershell and wsl, both giving me same error.

HazelDaniel commented 1 year ago

yea, same issue

Odaym commented 7 months ago

same

xXxcb commented 5 months ago

Any update on this issue?