Packages with successful npm installation cannot be used on the command line?

  node.js, question

The following packages were successfully installed using nom
图片描述

But on the command line:
Cordova and other instructions will prompt “neither Internal command nor external programs.”

图片描述

Tried solutions:
1. Run the command manager as an administrator. Unsuccessful
Excuse me, nodejs has no problem matching environment variables. Does npm need to match environment variables?
Why is this problem?

Resolved:
One more configuration file in the C: \ User \administrator can be deleted

I added the following path to the environment variablepathResolved

C:\Users\username\AppData\Roaming\npm

Pay attention tousernameChange to your own account name