To update an Azure Function from Node JS 14 to 18LTS, you need to: Backstory Microsoft is deprecating support for Nodejs 14 LTS in Azure Functions, so I needed to update the ones that used it. I went on and tried to update the Node version from the Function App configuration, but the dropdown allowed… Continue reading Updating an AzureFunction from Node 14
Category: node.js
AWS Closes S3 Read Stream Unexpectedly
I’m continuing with my notes on transferring big files from and to AWS S3 with node.js If you are reading a file from a S3 bucket using a stream that you occasionally pause, mind that the read stream will be closed in 60 minutes. If you cannot handle the file in that period of time,… Continue reading AWS Closes S3 Read Stream Unexpectedly
Node.js Streams and why sometimes they don’t pause()
TL; DR: If you pipe your node.js streams, make sure you pause the last one in the chain. The longer story: We’re building a node.js application that ingests data from multiple data sources for a client of ours. Since they are quite big in size and in user base (we’re going to process data for… Continue reading Node.js Streams and why sometimes they don’t pause()
Testing with Jest in a node and ReactJS monorepo (and getting rid of environment.teardown error)
Big number of the applications we develop have at least one ReactJS UI, that is held in one repo and an API, held in another. If we need to reuse some part of the code, we do so by moving it to another repository and adding it as a git submodule For our latest project… Continue reading Testing with Jest in a node and ReactJS monorepo (and getting rid of environment.teardown error)