You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 12, 2022. It is now read-only.
When making some tests with make-fetch-happen I faced the following problem:
SyntaxError: Unexpected token N in JSON at position 4 while parsing near '404 Not Found'
at JSON.parse (<anonymous>)
at parseJson (XXXX/index.js:7:17)
at consumeBody.call.then.buffer (XXXXXs/node-fetch-npm/src/body.js:96:50)
at <anonymous>
at process._tickDomainCallback (internal/process/next_tick.js:228:7)
TypeError
Trace: TypeError: Cannot read property 'contacts' of undefined
at getEmployees (XXXXXndex.js:157:32)
at <anonymous>
at process._tickDomainCallback (internal/process/next_tick.js:228:7)
at run (/UsersXXXXXX:25)
at <anonymous>
at process._tickDomainCallback (internal/process/next_tick.js:228:7)
When making some tests with make-fetch-happen I faced the following problem:
I'm using a http proxy. The code look likes this:
I was using plain node-fetch before and just replaced it now with make-fetch-happen to add our proxy servers.
Do I miss something?
The text was updated successfully, but these errors were encountered: