The message I get is:
<span>npm install</span><span>npm ERR! Cannot read property '0' of undefined</span><span>npm ERR! A complete log of this run can be found in:</span><span>npm ERR! /root/.npm/_logs/2017-11-13T02_52_59_957Z-debug.log</span>
1. Would anyone know the cause?
I deleted node_modules locally and ran npm install and it worked. But it doesn't seem to work on Bitbucket pipeline. I have not installed any new dependencies recently.
2. Also, how do I get hold of the logs file?
Thanks!