I had to update my build command to run npm install in functions directory :X - Cloudflare Developers