In nodejs, you can delete the ComSpec in the environment variable to solve the 1909 error; the reason for the 1909 error is the conflict of system environment variables, which can be found through "About" in "System Settings" "Advanced system property settings" can modify environment variables.
The operating environment of this article: Windows 10 system, nodejs version 12.19.0, Dell G3 computer.
When we install Node.js, a Warning1909 warning will appear. It may be a conflict of system environment variables.
Just need to change the environment variable ComSpec can be deleted without affecting its use.
Expand knowledge:
Open the settings interface of the Windows 10 system.
Then find "Advanced System Settings" from "Related Settings" on the right, and you will enter the system properties page.
#Then click "Environment Variables" in the lower right corner to enter the environment variable setting page of the Windows system.
This opens the environment variable setting window of the Windows 10 system.
Recommended learning: "nodejs video tutorial"
The above is the detailed content of How to solve nodejs 1909 error. For more information, please follow other related articles on the PHP Chinese website!