Ashish Sai
Ashish Sai

Reputation: 1

Getting error while checking for npm version post installing Node.js in Windows 10

Getting the following error while checking for npm version using Windows PowerShell.

Program 'npm.cmd' failed to run: The specified executable is not a valid application for this OS platform.At line:1
char:1
+ npm -v
+ ~~~~~~.
At line:1 char:1
+ npm -v
+ ~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
    + FullyQualifiedErrorId : NativeCommandFailed

Can someone help me with this?

Upvotes: 0

Views: 204

Answers (0)

Related Questions