Annaimahalingam
Annaimahalingam

Reputation: 252

unable to upgrade node js latest version

I'm trying to upgrade the node latest version not working but npm is upgraded to latest version and I don't have admin access.

I'm getting following error, When use this comment npm install node@latest

enter image description here

npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\Des ktop\foldername\package.json'

npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Deskto p\react\package.json'

npm WARN react No description

npm WARN react No repository field.

npm WARN react No README data

npm WARN react No license field.

Upvotes: 0

Views: 59

Answers (1)

Priyesh Diukar
Priyesh Diukar

Reputation: 2142

Try adding -g flag to your command to specify that it is a global install.

Upvotes: 0

Related Questions