VS Code npm install error.

Radar2 years ago

I changed logo.svg in traccar web folder.
But npm install and npm start command produces errors.
How should i solve?

Error;
Try the new cross-platform PowerShell https://aka.ms/pscore6

PS D:\Proself ve Mobil Uygulama\traccar-web-master\traccar-web-master> npm install
f a path was included, verify that the path is correct and try again.
At line:1 char:1
+ npm install
+ ~~~
    + CategoryInfo          : ObjectNotFound: (npm:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
 
PS D:\Proself ve Mobil Uygulama\traccar-web-master\traccar-web-master> npm start
f the name, or i
f a path was included, verify that the path is correct and try again.
At line:1 char:1
+ npm start
+ ~~~
    + CategoryInfo          : ObjectNotFound: (npm:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS D:\Proself ve Mobil Uygulama\traccar-web-master\traccar-web-master>
Anton Tananaev2 years ago

Looks like you don't have NPM installed or it's not configured properly.

check if you are inside the modern folder, once there npm install