Closed nickyzero closed 2 months ago
Please check the globally installed npm module path is in the environment variables by "echo $PATH". You can use “npm config ls -l” command to check the path.
Thanks
In windows, please do below.
To get nodejs installation path, run below. C:\Users\admin\Downloads>npm config get prefix C:\Program Files\nodejs
check your environment path whether it include above path("C:\Program Files\nodejs"). C:\Users\admin\Downloads>echo %PATH% C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Users\admin\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Program Files\Oracle\VirtualBox\;D:\Git\cmd;C:\Users\admin\AppData\Local\Programs\Python\Python312\Scripts\;C:\Users\admin\AppData\Local\Programs\Python\Python312\;C:\Users\admin\AppData\Local\Programs\Python\Launcher\;C:\Users\admin\AppData\Local\Microsoft\WindowsApps;C:\Users\admin\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Users\admin\AppData\Local\Programs\Microsoft VS Code\bin
Thanks
Thank you for your advice.
When installing the CLI with npm, the following issue occurred and the
ares
command did not execute. It seems there is a problem with the npm path not being correctly set in the environment variables.