See above how to develop and deploy to DigitalOcean.
First, install the libraries with:
npm i
Then, to test locally, run:
npm run start
You must run:
npm run deploy
With this command it will compile, zip all node_modules and then update the function with its zip file.