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
I set up the boilerplate on node version 11 and everything compiles and runs correctly, except until I click anything on the client, the server crashes with this error:
internal/buffer.js:788
class FastBuffer extends Uint8Array {}
^
RangeError: Invalid typed array length: -4095
at new Uint8Array ()
at new FastBuffer (internal/buffer.js:788:1)
at Handle.onStreamRead [as onread] (internal/stream_base_commons.js:149:17)
at Stream. (/home/james/Desktop/confettibot-mern/server/node_modules/handle-thing/lib/handle.js:88:10)
at Stream.emit (events.js:198:15)
at endReadableNT (/home/james/Desktop/confettibot-mern/server/node_modules/readable-stream/lib/_stream_readable.js:1077:12)
This is a bug in V8 I think (see nodejs/node#24097)
But maybe there is something wrong in your code that fires this bug.
Thanks
The text was updated successfully, but these errors were encountered:
I have checked the issue, it seems like the spdy module causes it, check this discussion. According to this, it won't be fixed, their suggestion is to use the native HTTP2 module instead, which is in Node v10+. But there's a catch, the HTTP module does not work with Express 4, see this discussion, it will be resolved only in Express 5.
According to this, if you want to use it with Node v11 you should use regular HTTP or HTTPS. Another option is to use the HTTP/HTTPS server with a NGINX HTTP2 proxy. With HTTP2, the recommended way is to use Node v10, at least until the Express 5 releases.
I set up the boilerplate on node version 11 and everything compiles and runs correctly, except until I click anything on the client, the server crashes with this error:
This is a bug in V8 I think (see nodejs/node#24097)
But maybe there is something wrong in your code that fires this bug.
Thanks
The text was updated successfully, but these errors were encountered: