Skip to main content

Dependency package not found when debugging cloud function in Cloud Editor

When using Cloud Editor to debug cloud functions, if a dependency package is reported as missing (e.g., wx-server-sdk not found), proceed as follows:

Troubleshooting steps:

  1. Modify the /workspace/pnpm-workspace.yaml file to add the missing directories, or directly write it as '*/*', as shown in the following example:
    packages:
    - '*/*'
  2. If the file is not visible in the left-hand resource explorer:
    • Click [Terminal] > [New Terminal] to open the terminal.
    • Run the cloudstudio /workspace/pnpm-workspace.yaml command to open the file.

Similar Issues

  • How to resolve missing dependency packages during cloud function debugging?
  • What to do when dependency packages cannot be found while debugging cloud functions in Cloud Editor?
  • How to handle the "dependency package not found" error when debugging cloud functions?
  • How to resolve dependency packages not found during cloud function debugging?
  • How to handle missing dependency packages when debugging cloud functions in Cloud Editor?
  • What to do when dependency packages cannot be found during cloud function debugging in Cloud Editor?
  • How to fix dependency packages not found during cloud function debugging?
  • What are the solutions for missing dependency packages during cloud function debugging?
  • How to handle dependency packages not found when debugging cloud functions in Cloud Editor?
  • How to resolve missing dependency packages during cloud function debugging in Cloud Editor?