I am trying to execute an .bat file but everytime i use /run for that purpose i got Windows input error that cannot find 'npm' and to check for vaild name, it is strange because when i try to run it normally by double click on it then is working but with /run doesn't.
I don't have that json file in that location so i get the following error:
Code:
npm ERR! path C:\Users\westo\package.json
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\westo\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\westo\AppData\Roaming\npm-cache\_logs\2018-08-28T19_34_48_351Z-debug.log