The message I get is:npm install
npm ERR! Cannot read property '0' of undefined
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2017-11-13T02_52_59_957Z-debug.log
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!
I have the same question. How do I get to see what's on /root/.npm/_logs
Did you ever find out?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.