See above how to develop and deploy to Digital Ocean.
First, install the libraries with:
npm i
Then, to test locally, run:
npm run start:debug
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.