Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

error #5

Open
petrichbg opened this issue Jun 27, 2017 · 1 comment
Open

error #5

petrichbg opened this issue Jun 27, 2017 · 1 comment

Comments

@petrichbg
Copy link

node server.js
buffer.js:74
throw new Error(
^

Error: If encoding is specified then the first argument must be a string
at new Buffer (buffer.js:74:13)
at new FetchStream (/usr/local/nginx/html/node_modules/fetch/lib/fetch.js:41:27)
at fetchUrl (/usr/local/nginx/html/node_modules/fetch/lib/fetch.js:386:23)
at Timeout._onTimeout (/usr/local/nginx/html/server.js:80:3)
at ontimeout (timers.js:386:14)
at tryOnTimeout (timers.js:250:5)
at Timer.listOnTimeout (timers.js:214:5)

@hezila
Copy link
Contributor

hezila commented Aug 28, 2017

@petrichbg try to update the fetch package to v1.1.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants