0

I am using Azure to run my builds and I need to do a production NPM install. I want to install my node modules in a different folder than that which my package.json is in.

this is my command

mkdir ./tmp
npm install --production --prefix ./tmp 

If it means anything, I'm using Ubuntu 16.04 and the error I get is this

no such file or directory, open '/home/vsts/work/1/s/tmp/package.json'

Help?

Christopher Mellor
  • 470
  • 2
  • 9
  • 23

0 Answers0