The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I am getting problem for my bitbucket-pipeline for React application. On local docker image with same versions
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ke-web-portal@0.1.0 build: `react-scripts build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ke-web-portal@0.1.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-01-21T11_04_20_900Z-debug.log
[ERROR] Command execution failed.
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value
To find out the exact reason I need to access generated for failure at /root/.npm/_logs
Is there anyway to access these logs?
I found them on Windows under C:\Users\[username]\AppData\Roaming\npm-cache\_logs
Hi Rabia,
You can try use an after-script to print out the contents of these logs.
pipelines:
default:
- step:
name: Build and test
script:
- # Your npm commands
after-script:
- cat /root/.npm_logs/*
Thanks,
Phil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.