run npm install in the correct directory