Cloud Function : NPM Errors

Hello @BahaniBillel ,

Welcome to Google Cloud Community!

You can do the following troubleshooting options:

  1. Check out the documentation on how to create and deploy an HTTP Cloud Function with Node.js
  2. The error usually occurs if you don’t use npm install for installing dependencies. See Specify dependencies in Node.js.

Also, take a look at these related Stackoverflow posts as you might have the same issue:

If the above options don’t work, you can contact Google Cloud Support to further look into your case. Hope it helps, thanks!

1 Like