Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error using node-cache-manager-s3 #1

Open
yagobski opened this issue Dec 23, 2018 · 1 comment
Open

error using node-cache-manager-s3 #1

yagobski opened this issue Dec 23, 2018 · 1 comment

Comments

@yagobski
Copy link

hi i have this error when i use this module with prerender

2018-12-23T02:15:10.008Z TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object. 0|server | at Function.Buffer.from (buffer.js:183:11) 0|server | at S3Cache.set (/home/ubuntu/node_modules/cache-manager-s3/src/index.js:439:33) 0|server | at PrerenderCacheManager.saveToCache (/home/ubuntu/node_modules/prerender-cache-manager-glue/index.js:45:14) 0|server | at PrerenderCacheManager.beforeSend (/home/ubuntu/node_modules/prerender-cache-manager-glue/index.js:66:15) 0|server | at next (/home/ubuntu/node_modules/prerender/lib/server.js:333:13) 0|server | at Promise (/home/ubuntu/node_modules/prerender/lib/server.js:344:3) 0|server | at new Promise (<anonymous>) 0|server | at Object.server.firePluginEvent (/home/ubuntu/node_modules/prerender/lib/server.js:303:9) 0|server | at Object.server.finish (/home/ubuntu/node_modules/prerender/lib/server.js:292:7) 0|server | at firePluginEvent.then.then.then.then.then.then.then.then.catch (/home/ubuntu/node_modules/prerender/lib/server.js:269:8)

@tprobinson
Copy link
Owner

Sorry that it took me so long to get to this! I believe that error occurs when Prerender returns a blank response. Are you still getting this issue?

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

No branches or pull requests

2 participants