joaogoya

Results comments of joaogoya

Model: https://github.com/joaogoya/Order-System/blob/master/sistema/src/models/product.js Repository: https://github.com/joaogoya/Order-System/blob/master/sistema/src/repository/product-repository.js Controller https://github.com/joaogoya/Order-System/blob/master/sistema/src/controllers/product-controller.js Route: https://github.com/joaogoya/Order-System/blob/master/sistema/src/routes/rotaProducts.js I researched and discovered that it is a problem related to the way mongoose treats rejected promises. But despite finding the problem,...

Hi, @vkarpov15 . I put a catch in .connect (). mongoose.connect('').catch((e) => console.error(e)); This error appears: { Error: read ECONNRESET at TCP.onStreamRead (internal/stream_base_commons.js:111:27) name: 'MongoNetworkError', errorLabels: [ 'TransientTransactionError' ], [Symbol(mongoErrorContextSymbol)]:...

@vkarpov15 First I identified that the application was having problems with rejected promises. I kept investigating and I saw that the problem is with the connection. Nothing is coming from...

Same issue. _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _| / △ \ | '_...

same error, but on a mongoose and mongo db

I get this issue when i try to render the pdf viewer inside a bootstrap modal