I'm using Windows Powershell and a pipeline in order to create the package of the application that I must deploy.
My issue regards the "npm install" command, because I don't want to CD the path where the package.json is stored. How to indicate where the "npm install" should be execute? I tried:
"npm --prefix C:\MyPath\Application\ClientApp install" but it returns this error
CodePudding user response:
Try running
npm install --prefix C:\MyPath\Application\ClientApp