FAQ for developing mini programs

更新时间:
复制 MD 格式

Common issues and solutions for mini program development in mPaaS, including IDE errors, version downgrade, and mini program ID retrieval.

What should I do if the mini program IDE reports an error on Windows?

Completely shut down the mini program IDE, then restart it with administrator privileges.

How can I revert to an older version of the mini program IDE?

  • Download and install an older version of the mini program IDE from the Download Hub.

  • Downgrade through the mPaaS mini program IDE:

    1. Open the mPaaS mini program IDE and select any mini program project.

    2. From the top menu bar, select Help > Local Configuration.

    3. Enter the following code.

      {
        "localAdaptorDebug": {
          "resourceCode": "mPaaS",
          "iterationId": 12000103,
          "productId": "tiny_app_ide_mac"
        }
      }
    4. Save your changes and completely shut down the mPaaS mini program IDE.

    5. Restart the mPaaS mini program IDE.

How do I get the ID of a running mini program in my code?

Call the update method to retrieve information about the running mini program. For details, see the mini program code sample.