Thank you for reaching out to us.
Our team assumes the path to the npm folder is absent in your environmental variables.
This is why you cannot access the npm packages through cli.
Add the corresponding path to your environmental variables to fix the issue. In your case, the path is likely to look like the following:
See the following article to learn more about how to manage environmental variables: https://helpdeskgeek.com/windows-10/add-windows-path-environment-variable/.
Please let us know if it helps.
We are looking forward to hearing from you.