I'm new to Bitbucket pipeline and the build fails when doing npm install for a react native project.
Any idea from the log below what could be wrong? Apologies for the newb question.
+ chmod 777 $BUILD_DIR
Cache "node": DownloadingCache "node": Not found+ npm installnpm info it worked if it ends with oknpm info using npm@3.10.10npm info using node@v6.9.4npm info attempt registry request try #1 at 10:40:59 PMnpm http request GET https://registry.npmjs.org/exponpm info attempt registry request try #1 at 10:41:00 PMnpm http request GET https://registry.npmjs.org/reactnpm info attempt registry request try #1 at 10:41:00 PMnpm http request GET https://registry.npmjs.org/react-nativenpm info attempt registry request try #1 at 10:41:00 PMnpm http request GET https://registry.npmjs.org/react-navigationnpm http 200 https://registry.npmjs.org/reactnpm http 200 https://registry.npmjs.org/exponpm http 200 https://registry.npmjs.org/react-navigationnpm info retry fetch attempt 1 at 10:41:00 PMnpm info attempt registry request try #1 at 10:41:00 PMnpm http fetch GET https://registry.npmjs.org/react/-/react-16.3.1.tgznpm info retry fetch attempt 1 at 10:41:00 PMnpm info attempt registry request try #1 at 10:41:00 PMnpm http fetch GET https://registry.npmjs.org/expo/-/expo-27.1.1.tgznpm http fetch 200 https://registry.npmjs.org/react/-/react-16.3.1.tgznpm http fetch 200 https://registry.npmjs.org/expo/-/expo-27.1.1.tgznpm info retry fetch attempt 1 at 10:41:00 PMnpm info attempt registry request try #1 at 10:41:00 PMnpm http fetch GET https://registry.npmjs.org/react-navigation/-/react-navigation-2.13.0.tgznpm http fetch 200 https://registry.npmjs.org/react-navigation/-/react-navigation-2.13.0.tgznpm http 200 https://registry.npmjs.org/react-nativenpm info retry fetch attempt 1 at 10:41:00 PMnpm info attempt registry request try #1 at 10:41:00 PMnpm http fetch GET https://registry.npmjs.org/react-native/-/react-native-0.55.4.tgznpm http fetch 200 https://registry.npmjs.org/react-native/-/react-native-0.55.4.tgznpm info attempt registry request try #1 at 10:41:00 PMnpm http request GET https://registry.npmjs.org/@expo%2fvector-iconsnpm info attempt registry request try #1 at 10:41:00 PMnpm http request GET https://registry.npmjs.org/@expo%2fwebsqlnpm info attempt registry request try #1 at 10:41:00 PMnpm http request GET https://registry.npmjs.org/babel-preset-exponpm info attempt registry request try #1 at 10:41:00 PMnpm http request GET https://registry.npmjs.org/fbemitternpm info attempt registry request try #1 at 10:41:00 PMnpm http request GET https://registry.npmjs.org/invariantnpm info attempt registry request try #1 at 10:41:00 PMnpm http request GET https://registry.npmjs.org/lodash.mapnpm info attempt registry request try #1 at 10:41:00 PMnpm http request GET https://registry.npmjs.org/lodash.omitnpm info attempt registry request try #1 at 10:41:00 PMnpm http request GET https://registry.npmjs.org/lodash.zipobjectnpm info attempt registry request try #1 at 10:41:00 PMnpm http request GET https://registry.npmjs.org/lottie-react-nativenpm info attempt registry request try #1 at 10:41:00 PMnpm http request GET https://registry.npmjs.org/md5-filenpm info attempt registry request try #1 at 10:41:00 PMnpm http request GET https://registry.npmjs.org/pretty-formatnpm info attempt registry request try #1 at 10:41:00 PMnpm http request GET https://registry.npmjs.org/prop-typesnpm info attempt registry request try #1 at 10:41:00 PMnpm http request GET https://registry.npmjs.org/qsnpm info attempt registry request try #1 at 10:41:00 PMnpm http request GET https://registry.npmjs.org/react-native-branchnpm info attempt registry request try #1 at 10:41:00 PMnpm http request GET https://registry.npmjs.org/react-native-gesture-handlernpm info attempt registry request try #1 at 10:41:00 PMnpm http request GET https://registry.npmjs.org/react-native-mapsnpm info attempt registry request try #1 at 10:41:00 PMnpm http request GET https://registry.npmjs.org/react-native-svgnpm info attempt registry request try #1 at 10:41:00 PMnpm http request GET https://registry.npmjs.org/react-native-svg-webnpm info attempt registry request try #1 at 10:41:00 PMnpm http request GET https://registry.npmjs.org/react-native-web-mapsnpm info attempt registry request try #1 at 10:41:00 PMnpm http request GET https://registry.npmjs.org/uuid-jsnpm http 200 https://registry.npmjs.org/fbemitternpm http 200 https://registry.npmjs.org/lodash.mapnpm http 200 https://registry.npmjs.org/lodash.omitnpm http 200 https://registry.npmjs.org/babel-preset-exponpm http 200 https://registry.npmjs.org/react-native-web-mapsnpm http 200 https://registry.npmjs.org/prop-typesnpm http 200 https://registry.npmjs.org/md5-filenpm http 200 https://registry.npmjs.org/invariantnpm http 200 https://registry.npmjs.org/uuid-jsnpm http 200 https://registry.npmjs.org/react-native-svg-webnpm http 200 https://registry.npmjs.org/lottie-react-nativenpm http 200 https://registry.npmjs.org/lodash.zipobjectnpm http 200 https://registry.npmjs.org/qsnpm http 200 https://registry.npmjs.org/react-native-mapsnpm info retry fetch attempt 1 at 10:41:00 PMnpm info attempt registry request try #1 at 10:41:00 PMnpm http fetch GET https://registry.npmjs.org/fbemitter/-/fbemitter-2.1.1.tgznpm http 200 https://registry.npmjs.org/react-native-gesture-handlernpm http 200 https://registry.npmjs.org/react-native-branchnpm http fetch 200 https://registry.npmjs.org/fbemitter/-/fbemitter-2.1.1.tgznpm info retry fetch attempt 1 at 10:41:01 PMnpm info attempt registry request try #1 at 10:41:01 PMnpm http fetch GET https://registry.npmjs.org/lodash.map/-/lodash.map-4.6.0.tgznpm http 200 https://registry.npmjs.org/react-native-svgnpm info retry fetch attempt 1 at 10:41:01 PMnpm info attempt registry request try #1 at 10:41:01 PMnpm http fetch GET https://registry.npmjs.org/lodash.omit/-/lodash.omit-4.5.0.tgznpm info retry fetch attempt 1 at 10:41:01 PMnpm info attempt registry request try #1 at 10:41:01 PMnpm http fetch GET https://registry.npmjs.org/react-native-web-maps/-/react-native-web-maps-0.1.0.tgznpm info retry fetch attempt 1 at 10:41:01 PMnpm info attempt registry request try #1 at 10:41:01 PMnpm http fetch GET https://registry.npmjs.org/babel-preset-expo/-/babel-preset-expo-4.0.0.tgznpm info retry fetch attempt 1 at 10:41:01 PMnpm info attempt registry request try #1 at 10:41:01 PMnpm http fetch GET https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgznpm info retry fetch attempt 1 at 10:41:01 PMnpm info attempt registry request try #1 at 10:41:01 PMnpm http fetch GET https://registry.npmjs.org/md5-file/-/md5-file-3.2.3.tgznpm info retry fetch attempt 1 at 10:41:01 PMnpm info attempt registry request try #1 at 10:41:01 PMnpm http fetch GET https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgznpm http fetch 200 https://registry.npmjs.org/lodash.map/-/lodash.map-4.6.0.tgznpm http fetch 200 https://registry.npmjs.org/lodash.omit/-/lodash.omit-4.5.0.tgznpm http fetch 200 https://registry.npmjs.org/babel-preset-expo/-/babel-preset-expo-4.0.0.tgznpm http fetch 200 https://registry.npmjs.org/react-native-web-maps/-/react-native-web-maps-0.1.0.tgznpm http fetch 200 https://registry.npmjs.org/md5-file/-/md5-file-3.2.3.tgznpm info retry fetch attempt 1 at 10:41:01 PMnpm info attempt registry request try #1 at 10:41:01 PMnpm http fetch GET https://registry.npmjs.org/uuid-js/-/uuid-js-0.7.5.tgznpm info retry fetch attempt 1 at 10:41:01 PMnpm info attempt registry request try #1 at 10:41:01 PMnpm http fetch GET https://registry.npmjs.org/react-native-svg-web/-/react-native-svg-web-1.0.1.tgznpm http fetch 200 https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgznpm info retry fetch attempt 1 at 10:41:01 PMnpm info attempt registry request try #1 at 10:41:01 PMnpm http fetch GET https://registry.npmjs.org/lodash.zipobject/-/lodash.zipobject-4.1.3.tgznpm info retry fetch attempt 1 at 10:41:01 PMnpm info attempt registry request try #1 at 10:41:01 PMnpm http fetch GET https://registry.npmjs.org/lottie-react-native/-/lottie-react-native-2.3.2.tgznpm http 200 https://registry.npmjs.org/pretty-formatnpm info retry fetch attempt 1 at 10:41:01 PMnpm info attempt registry request try #1 at 10:41:01 PMnpm http fetch GET https://registry.npmjs.org/qs/-/qs-6.5.2.tgznpm http fetch 200 https://registry.npmjs.org/react-native-svg-web/-/react-native-svg-web-1.0.1.tgznpm http fetch 200 https://registry.npmjs.org/lodash.zipobject/-/lodash.zipobject-4.1.3.tgznpm http fetch 200 https://registry.npmjs.org/lottie-react-native/-/lottie-react-native-2.3.2.tgznpm http fetch 200 https://registry.npmjs.org/uuid-js/-/uuid-js-0.7.5.tgznpm http fetch 200 https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgznpm info retry fetch attempt 1 at 10:41:01 PMnpm info attempt registry request try #1 at 10:41:01 PMnpm http fetch GET https://registry.npmjs.org/react-native-maps/-/react-native-maps-0.21.0.tgznpm info retry fetch attempt 1 at 10:41:01 PMnpm info attempt registry request try #1 at 10:41:01 PMnpm http fetch GET https://registry.npmjs.org/react-native-gesture-handler/-/react-native-gesture-handler-1.0.0-alpha.41.tgznpm http fetch 200 https://registry.npmjs.org/qs/-/qs-6.5.2.tgznpm info retry fetch attempt 1 at 10:41:01 PMnpm info attempt registry request try #1 at 10:41:01 PMnpm http fetch GET https://registry.npmjs.org/react-native-branch/-/react-native-branch-2.0.0-beta.3.tgznpm http fetch 200 https://registry.npmjs.org/react-native-maps/-/react-native-maps-0.21.0.tgznpm http fetch 200 https://registry.npmjs.org/react-native-gesture-handler/-/react-native-gesture-handler-1.0.0-alpha.41.tgznpm info retry fetch attempt 1 at 10:41:01 PMnpm info attempt registry request try #1 at 10:41:01 PMnpm http fetch GET https://registry.npmjs.org/react-native-svg/-/react-native-svg-6.2.2.tgznpm http fetch 200 https://registry.npmjs.org/react-native-branch/-/react-native-branch-2.0.0-beta.3.tgznpm http fetch 200 https://registry.npmjs.org/react-native-svg/-/react-native-svg-6.2.2.tgznpm info retry fetch attempt 1 at 10:41:01 PMnpm info attempt registry request try #1 at 10:41:01 PMnpm http fetch GET https://registry.npmjs.org/pretty-format/-/pretty-format-21.2.1.tgznpm http fetch 200 https://registry.npmjs.org/pretty-format/-/pretty-format-21.2.1.tgznpm http 200 https://registry.npmjs.org/@expo%2fvector-iconsnpm http 200 https://registry.npmjs.org/@expo%2fwebsqlnpm info retry fetch attempt 1 at 10:41:01 PMnpm info attempt registry request try #1 at 10:41:01 PMnpm http fetch GET https://registry.npmjs.org/@expo/vector-icons/-/vector-icons-6.3.1.tgznpm info retry fetch attempt 1 at 10:41:01 PMnpm info attempt registry request try #1 at 10:41:01 PMnpm http fetch GET https://registry.npmjs.org/@expo/websql/-/websql-1.0.1.tgznpm http fetch 200 https://registry.npmjs.org/@expo/websql/-/websql-1.0.1.tgznpm http fetch 200 https://registry.npmjs.org/@expo/vector-icons/-/vector-icons-6.3.1.tgznpm ERR! cb() never called!Skipping cache upload for failed stepSearching for test report files in directories named [test-results, failsafe-reports, test-reports, surefire-reports] down to a depth of 4Finished scanning for test reports. Found 0 test report files.Merged test suites, total number tests is 0, with 0 failures and 0 errors.
Hey @cmacdonnacha,
The first step will be to check whether this issue is docker based. Can you follow the steps at https://confluence.atlassian.com/bitbucket/debug-your-pipelines-locally-with-docker-838273569.html and check whether this issue sitll exists debugging with docker locally.
Cheers,
Tom
It looks like you're new here. Sign in or register to get started.