I have a local Jenkins installed (under Windows 10 OS) and have an unexpected behavior.
Suggestions why ?
Step 1 is execuded properly :
cd C:\MYFOLDER
npm run config
But Step 2 fails (ERROR):
cd C:\MYFOLDER
npm i
The console output is:
npm ERR! path C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_cacache\tmp\git-clone-bc17270a\package.json
Note: There is a package.json in C:\MYFOLDER with the needed installs, but Jenkins looks for it in a completely another folder.