C:\Users\user>npm --version The syntax of the command is incorrect.
Tried uninstalling and installing node the error persists.. Tried node installing 20,18 these two versions still same..
C:\Users\user>npm --version The syntax of the command is incorrect.
Tried uninstalling and installing node the error persists.. Tried node installing 20,18 these two versions still same..
Copyright © 2021 Jogjafile Inc.
I would suspect it might be something to do with
PATHbeing different between thecmdandpsenvironments, so some more debugging might help.With Command Prompt:
With PowerShell: