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 am using sequelize(postgresql) with feather js which throws an uncaught exception
RangeError: "size" argument must not be larger than 2147483647
at Function.Buffer.alloc (buffer.js:233:3)
at module.exports.Reader.addChunk (/app/node_modules/packet-reader/index.js:35:28)
at Socket.<anonymous> (/app/node_modules/pg/lib/connection.js:118:18)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
at TCP.onread (net.js:601:20)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
When I run a findAll query.
What are you doing?
I have a user table for which I run a findAll query(Eager Loading) to get all contacts of this user.
The query works fine for some users but for a few users node js throws the RangeError(mentioned above
)
The data returned from the query is not very huge. Even when I set the limit to 1 still it throws the same error.
Environment
Sequelize version: 4.44.4
feathers-sequeliz: 3.1.3
Node.js version: 8.17.0
Operating System: Ubuntu 18.04.3
The text was updated successfully, but these errors were encountered:
RajatKumarChahar
changed the title
RangeError: "size" argument must not be larger than 2147483647 #13162
RangeError: "size" argument must not be larger than 2147483647
Mar 31, 2021
Issue Description
I am using sequelize(postgresql) with feather js which throws an uncaught exception
When I run a findAll query.
What are you doing?
I have a user table for which I run a findAll query(Eager Loading) to get all contacts of this user.
The query works fine for some users but for a few users node js throws the RangeError(mentioned above
)
The data returned from the query is not very huge. Even when I set the limit to 1 still it throws the same error.
Environment
The text was updated successfully, but these errors were encountered: