node.js - Bluemix Build Error with Node 7 -
i have been building react js application hosted within ibm bluemix. have had issues build stage part of ci/cd pipeline - believe issue has been based around node version using when running build phase - using node 7 , recieveing following error based on archive directory build/ (error message below) :
npm info worked if ends ok
npm verb cli [ '/home/pipeline/nvm/versions/node/v7.0.0/bin/node', npm verb cli '/home/pipeline/nvm/versions/node/v7.0.0/bin/npm', npm verb cli 'build', npm verb cli '--verbose' ] npm info using npm@3.10.8 npm info using node@v7.0.0 npm verb exit [ 0, true ] npm info ok
archive directory build/ not exist. please check name.
finished: failed
any advice or appreciated.
the error message thrown when defining build directory doesn't exist because might not getting created during build job. in pipeline build stage, can check "build archive directory" field in configuration , make sure directory listed there exists? also, can try leaving field blank. let me know how goes.
Comments
Post a Comment