You must include all the dependencies in the code package that you upload to Function Compute. The methods of package management vary with the programming language. For example, in Node.js, you can use npm to install dependencies in the code directory and compress the dependencies and the code into a package. You can use Function Compute Command Line Interface (fcli) to install dependencies and compress them into a package, and add third-party packages or dynamic-link libraries to different runtime environments. You can also run the fun install command to install third-party dependencies. For more information, see Run the fun install command to install third-party dependencies.
How helpful was this page?
What might be the problems?