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:
-
Open the mPaaS mini program IDE and select any mini program project.
-
From the top menu bar, select Help > Local Configuration.
-
Enter the following code.
{ "localAdaptorDebug": { "resourceCode": "mPaaS", "iterationId": 12000103, "productId": "tiny_app_ide_mac" } } -
Save your changes and completely shut down the mPaaS mini program IDE.
-
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.
该文章对您有帮助吗?