Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

npm install fails on bitbucket pipeline (but okay locally)

Dev AnIsland November 12, 2017

The message I get is:
npm installnpm ERR! Cannot read property '0' of undefinednpm 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!

1 answer

1 vote
creasys-gbuenrostro January 23, 2019

I have the same question. How do I get to see what's on /root/.npm/_logs

Per Aronsson November 3, 2022

Did you ever find out?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events