1# IDE Usage 2 3## What should I do if the error message "npm ERR! code SELF_SIGNED_CERT_IN_CHAIN" is displayed? 4 5Applicable to: OpenHarmony SDK 3.2.5.3, stage model of API version 9 6 71. Run **npm config set strict-ssl=false** on the DevEco Studio terminal. 8 92. Run **npm install** on the DevEco Studio terminal. 10 11## After manual updating of a DevEco Studio SDK, the error message "Cannot find module 'xxx\ets\x.x.x.x\build-tools\ArkTS-loader\node_modules\webpack\bin\webpack.js'" is displayed during HAP building. What should I do? 12 13Applicable to: OpenHarmony SDK 3.2.5.3, stage model of API version 9 14 151. Run **npm install** in the **ets\x.x.x.x\build-tools\ets-loader** directory of the SDK. 16 172. Run **npm install** in the **js\x.x.x.x\build-tools\ace-loader** directory of the SDK. Perform HAP building again. 18 19## How do I pack a HAP file through the command line? 20 21Applicable to: OpenHarmony SDK 3.2.5.5, stage model of API version 9 22 23Method 1: Run **hvigor assembleHap**. 24 25Method 2: In **scripts** of the project **package.json** file, define the build task script and run **npm buildOhosHaps**. The **buildOhosHaps** field can be customized. 26 27 28``` 29"scripts": { 30 "buildOhosHaps": "hvigor assembleHap" 31}, 32``` 33 34## How do I select API version 9 when creating a project in DevEco Studio? 35 36Applicable to: DevEco Studio 3.0 Beta4 3.0.0.993(B06) 37 38When creating a project in DevEco Studio, make sure you are on the **OpenHarmony** tab page. 39 40## What should I do if no callback is received and no error code is returned for downloads? 41 42Applicable to: all versions 43 441. Re-install hdc_std and set up the device connection again. 452. Run **hdc_std shell hilog -Q pidoff** to disable log log flow control. 46 47## What should I do if the "error: unknow option. usage: aa start \<options>" message is displayed after I click Run in DevEco Studio? 48 49Applicable to: OpenHarmony SDK 3.2.5.6, stage model of API version 9 50 51This issue occurs when the parameter in the **aa** command is invalid and therefore the target application fails to be opened. 52 53To fix this issue, use either of the following methods: 54 551. Make sure the SDK version and the OS version are the same. 56 572. Touch the application icon on the device to manually open the application. 58 59## What should I do if "The hdc_std version of the SDK does not match the hdcd version of the device." message is displayed when I run an application in DevEco Studio? 60 61Applicable to: OpenHarmony SDK 3.2.5.6, stage model of API version 9 62 63This issue occurs when the hdc and hdcd versions do not match. Update Dev Eco Studio to 3.0.1.993 or later. 64 65After the update, Dev Eco Studio will still indicate the version mismatch, but will not block the running. 66 67## How do I add a custom .d.ts file to the OpenHarmony SDK? 68 69Applicable to: OpenHarmony SDK 3.1.7.7, FA model of API version 8 70 71Name the .d.ts file **@ohos.xxxx.d.ts**, save it to the SDK path, and restart Dev Eco Studio. 72 73A code notification is displayed when the file is imported. 74 75## How do I switch to the full SDK? 76 77Applicable to: OpenHarmony SDK 3.2.7.5 78 79Follow the instructions in [Guide to Switching to Full SDK](../quick-start/full-sdk-switch-guide.md). 80