Developer tools startup exception self-help solution

This article accumulates and collects some solutions to abnormal problems of developer tools to help users solve problems by themselves and more efficiently.

1. The developer tool of win10 21H2 system version is stuck ( the process of file monitoring ms-wx-file-watcher is stuck )

Related Posts:

What should I do if the developer tool file monitoring fails to open and freezes? | WeChat Open Community

After the system is updated, the development tool cannot be opened or closed. What is the problem? | WeChat Open Community

Performance: The tool will be stuck when opening the tool. Check the process manager and find that the ms-wx-file-watcher process has been stuck. Stopping the process can go on normally

The cause of the problem: The win10 21H2 system version update involves the update of the .NET Framework, causing the simplest compiled C# exe to freeze directly

Solution: Uninstall the relevant update records and restart the computer

231ff202307261421023999.png

2. Win10 WeChat Developer Tools cannot be opened after installation (click no response)

Performance: After the tool is installed, it cannot be opened. Check the log: Check the log C:\Users\username\AppData\Local\WeChat Developer Tools\User Data\80d774828fc67c7dafc59cd74ce70db0\WeappLog\launch.log

If you see NUL-related error logs:

a3253202307261421149657.png

Usually the system NUL driver is missing or incorrect.

You can verify and view the performance by entering sc start null in cmd (opened with administrator privileges). Under normal circumstances, the above command will display "the service instance is already running or successfully running"

7a492202307261421248949.png

solution

1. If " OpenService failed 1060, the specified service is not installed" is usually because the registry is not registered to the NULL driver. You can open the registry first to confirm whether the NULL driver is registered, you can open the registry "Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Null" exists

b96e7202307261421355938.png

If it does not exist, you can use the following file https://dldir1.qq.com/WechatWebDev/test/null.reg . After registration, you can enter sc start null in cmd (open with administrator privileges) to check the performance. If you can Normal startup without further steps

2. If StartService fails , you need to consider the problem of NULL driver

57b4e202307261421506290.png

You can try to copy  https://dldir1.qq.com/WechatWebDev/test/null.sys (null.sys ) to the C:\Windows\System32\drivers directory, then restart the computer, you can open it in cmd (with administrator privileges) ) Enter sc start null to check the performance. If it can start normally, there is no need for the next step

3. If there is a problem with the signature, you may first close the driver to force the signature

9471a202307261422017405.png

You can refer to the following solutions (if the following tutorial cannot solve the problem, you can search for it yourself)

win10 disabled driver mandatory signature - Baidu experience

3. Win 32-bit system opens the tool and crashes to the login page

There is a problem with the 32-bit support of the current tool version 1.06.xxx. Users who encounter this problem can first downgrade to use the 1.05.xxxx tool version

WeChat Developer Tools (Stable Build) download address and update log | WeChat Open Documentation

72122202307261422134295.png

4. Open the tool project window and get stuck in the process of loading all files

The problem is that the user sets the value of the system variable NODE_OPTIONS --openssl-legacy-provider. By opening the menu-"WeChat Developer Tools-"Debug-"Debug WeChat Developer Tools, you can see the specific error message --openssl- Legacy-provider is not allowed in NODE_OPTIONS error message, this parameter is only supported by node17+ version, the current tool node version is up to 16+, it is unnecessary to remove this parameter setting

27594202307261422267483.png

Guess you like

Origin blog.csdn.net/weixin_64051447/article/details/131942472