Recently installed the java environment, but then install vue-cli and cnpm are reported errors, how to deal with it?

the java environment has been installed recently, but both vue-cli and cnpm are reported as errors. What should I do?

Dec.30,2021
Check the
C:\ Users\ Administrator\ AppData\ Roaming\ npm

in the

environment variable.

Menu