Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket pipeline build failing: "npm ERR! cb() never called!"

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": Downloading
Cache "node": Not found
+ npm install
npm info it worked if it ends with ok
npm info using npm@3.10.10
npm info using node@v6.9.4
npm info attempt registry request try #1 at 10:40:59 PM
npm http request GET https://registry.npmjs.org/expo
npm info attempt registry request try #1 at 10:41:00 PM
npm http request GET https://registry.npmjs.org/react
npm info attempt registry request try #1 at 10:41:00 PM
npm http request GET https://registry.npmjs.org/react-native
npm info attempt registry request try #1 at 10:41:00 PM
npm http request GET https://registry.npmjs.org/react-navigation
npm http 200 https://registry.npmjs.org/react
npm http 200 https://registry.npmjs.org/expo
npm http 200 https://registry.npmjs.org/react-navigation
npm info retry fetch attempt 1 at 10:41:00 PM
npm info attempt registry request try #1 at 10:41:00 PM
npm http fetch GET https://registry.npmjs.org/react/-/react-16.3.1.tgz
npm info retry fetch attempt 1 at 10:41:00 PM
npm info attempt registry request try #1 at 10:41:00 PM
npm http fetch GET https://registry.npmjs.org/expo/-/expo-27.1.1.tgz
npm http fetch 200 https://registry.npmjs.org/react/-/react-16.3.1.tgz
npm http fetch 200 https://registry.npmjs.org/expo/-/expo-27.1.1.tgz
npm info retry fetch attempt 1 at 10:41:00 PM
npm info attempt registry request try #1 at 10:41:00 PM
npm http fetch GET https://registry.npmjs.org/react-navigation/-/react-navigation-2.13.0.tgz
npm http fetch 200 https://registry.npmjs.org/react-navigation/-/react-navigation-2.13.0.tgz
npm http 200 https://registry.npmjs.org/react-native
npm info retry fetch attempt 1 at 10:41:00 PM
npm info attempt registry request try #1 at 10:41:00 PM
npm http fetch GET https://registry.npmjs.org/react-native/-/react-native-0.55.4.tgz
npm http fetch 200 https://registry.npmjs.org/react-native/-/react-native-0.55.4.tgz
npm info attempt registry request try #1 at 10:41:00 PM
npm http request GET https://registry.npmjs.org/@expo%2fvector-icons
npm info attempt registry request try #1 at 10:41:00 PM
npm http request GET https://registry.npmjs.org/@expo%2fwebsql
npm info attempt registry request try #1 at 10:41:00 PM
npm http request GET https://registry.npmjs.org/babel-preset-expo
npm info attempt registry request try #1 at 10:41:00 PM
npm http request GET https://registry.npmjs.org/fbemitter
npm info attempt registry request try #1 at 10:41:00 PM
npm http request GET https://registry.npmjs.org/invariant
npm info attempt registry request try #1 at 10:41:00 PM
npm http request GET https://registry.npmjs.org/lodash.map
npm info attempt registry request try #1 at 10:41:00 PM
npm http request GET https://registry.npmjs.org/lodash.omit
npm info attempt registry request try #1 at 10:41:00 PM
npm http request GET https://registry.npmjs.org/lodash.zipobject
npm info attempt registry request try #1 at 10:41:00 PM
npm http request GET https://registry.npmjs.org/lottie-react-native
npm info attempt registry request try #1 at 10:41:00 PM
npm http request GET https://registry.npmjs.org/md5-file
npm info attempt registry request try #1 at 10:41:00 PM
npm http request GET https://registry.npmjs.org/pretty-format
npm info attempt registry request try #1 at 10:41:00 PM
npm http request GET https://registry.npmjs.org/prop-types
npm info attempt registry request try #1 at 10:41:00 PM
npm http request GET https://registry.npmjs.org/qs
npm info attempt registry request try #1 at 10:41:00 PM
npm http request GET https://registry.npmjs.org/react-native-branch
npm info attempt registry request try #1 at 10:41:00 PM
npm http request GET https://registry.npmjs.org/react-native-gesture-handler
npm info attempt registry request try #1 at 10:41:00 PM
npm http request GET https://registry.npmjs.org/react-native-maps
npm info attempt registry request try #1 at 10:41:00 PM
npm http request GET https://registry.npmjs.org/react-native-svg
npm info attempt registry request try #1 at 10:41:00 PM
npm http request GET https://registry.npmjs.org/react-native-svg-web
npm info attempt registry request try #1 at 10:41:00 PM
npm http request GET https://registry.npmjs.org/react-native-web-maps
npm info attempt registry request try #1 at 10:41:00 PM
npm http request GET https://registry.npmjs.org/uuid-js
npm http 200 https://registry.npmjs.org/fbemitter
npm http 200 https://registry.npmjs.org/lodash.map
npm http 200 https://registry.npmjs.org/lodash.omit
npm http 200 https://registry.npmjs.org/babel-preset-expo
npm http 200 https://registry.npmjs.org/react-native-web-maps
npm http 200 https://registry.npmjs.org/prop-types
npm http 200 https://registry.npmjs.org/md5-file
npm http 200 https://registry.npmjs.org/invariant
npm http 200 https://registry.npmjs.org/uuid-js
npm http 200 https://registry.npmjs.org/react-native-svg-web
npm http 200 https://registry.npmjs.org/lottie-react-native
npm http 200 https://registry.npmjs.org/lodash.zipobject
npm http 200 https://registry.npmjs.org/qs
npm http 200 https://registry.npmjs.org/react-native-maps
npm info retry fetch attempt 1 at 10:41:00 PM
npm info attempt registry request try #1 at 10:41:00 PM
npm http fetch GET https://registry.npmjs.org/fbemitter/-/fbemitter-2.1.1.tgz
npm http 200 https://registry.npmjs.org/react-native-gesture-handler
npm http 200 https://registry.npmjs.org/react-native-branch
npm http fetch 200 https://registry.npmjs.org/fbemitter/-/fbemitter-2.1.1.tgz
npm info retry fetch attempt 1 at 10:41:01 PM
npm info attempt registry request try #1 at 10:41:01 PM
npm http fetch GET https://registry.npmjs.org/lodash.map/-/lodash.map-4.6.0.tgz
npm http 200 https://registry.npmjs.org/react-native-svg
npm info retry fetch attempt 1 at 10:41:01 PM
npm info attempt registry request try #1 at 10:41:01 PM
npm http fetch GET https://registry.npmjs.org/lodash.omit/-/lodash.omit-4.5.0.tgz
npm info retry fetch attempt 1 at 10:41:01 PM
npm info attempt registry request try #1 at 10:41:01 PM
npm http fetch GET https://registry.npmjs.org/react-native-web-maps/-/react-native-web-maps-0.1.0.tgz
npm info retry fetch attempt 1 at 10:41:01 PM
npm info attempt registry request try #1 at 10:41:01 PM
npm http fetch GET https://registry.npmjs.org/babel-preset-expo/-/babel-preset-expo-4.0.0.tgz
npm info retry fetch attempt 1 at 10:41:01 PM
npm info attempt registry request try #1 at 10:41:01 PM
npm http fetch GET https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgz
npm info retry fetch attempt 1 at 10:41:01 PM
npm info attempt registry request try #1 at 10:41:01 PM
npm http fetch GET https://registry.npmjs.org/md5-file/-/md5-file-3.2.3.tgz
npm info retry fetch attempt 1 at 10:41:01 PM
npm info attempt registry request try #1 at 10:41:01 PM
npm http fetch GET https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz
npm http fetch 200 https://registry.npmjs.org/lodash.map/-/lodash.map-4.6.0.tgz
npm http fetch 200 https://registry.npmjs.org/lodash.omit/-/lodash.omit-4.5.0.tgz
npm http fetch 200 https://registry.npmjs.org/babel-preset-expo/-/babel-preset-expo-4.0.0.tgz
npm http fetch 200 https://registry.npmjs.org/react-native-web-maps/-/react-native-web-maps-0.1.0.tgz
npm http fetch 200 https://registry.npmjs.org/md5-file/-/md5-file-3.2.3.tgz
npm info retry fetch attempt 1 at 10:41:01 PM
npm info attempt registry request try #1 at 10:41:01 PM
npm http fetch GET https://registry.npmjs.org/uuid-js/-/uuid-js-0.7.5.tgz
npm info retry fetch attempt 1 at 10:41:01 PM
npm info attempt registry request try #1 at 10:41:01 PM
npm http fetch GET https://registry.npmjs.org/react-native-svg-web/-/react-native-svg-web-1.0.1.tgz
npm http fetch 200 https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgz
npm info retry fetch attempt 1 at 10:41:01 PM
npm info attempt registry request try #1 at 10:41:01 PM
npm http fetch GET https://registry.npmjs.org/lodash.zipobject/-/lodash.zipobject-4.1.3.tgz
npm info retry fetch attempt 1 at 10:41:01 PM
npm info attempt registry request try #1 at 10:41:01 PM
npm http fetch GET https://registry.npmjs.org/lottie-react-native/-/lottie-react-native-2.3.2.tgz
npm http 200 https://registry.npmjs.org/pretty-format
npm info retry fetch attempt 1 at 10:41:01 PM
npm info attempt registry request try #1 at 10:41:01 PM
npm http fetch GET https://registry.npmjs.org/qs/-/qs-6.5.2.tgz
npm http fetch 200 https://registry.npmjs.org/react-native-svg-web/-/react-native-svg-web-1.0.1.tgz
npm http fetch 200 https://registry.npmjs.org/lodash.zipobject/-/lodash.zipobject-4.1.3.tgz
npm http fetch 200 https://registry.npmjs.org/lottie-react-native/-/lottie-react-native-2.3.2.tgz
npm http fetch 200 https://registry.npmjs.org/uuid-js/-/uuid-js-0.7.5.tgz
npm http fetch 200 https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz
npm info retry fetch attempt 1 at 10:41:01 PM
npm info attempt registry request try #1 at 10:41:01 PM
npm http fetch GET https://registry.npmjs.org/react-native-maps/-/react-native-maps-0.21.0.tgz
npm info retry fetch attempt 1 at 10:41:01 PM
npm info attempt registry request try #1 at 10:41:01 PM
npm http fetch GET https://registry.npmjs.org/react-native-gesture-handler/-/react-native-gesture-handler-1.0.0-alpha.41.tgz
npm http fetch 200 https://registry.npmjs.org/qs/-/qs-6.5.2.tgz
npm info retry fetch attempt 1 at 10:41:01 PM
npm info attempt registry request try #1 at 10:41:01 PM
npm http fetch GET https://registry.npmjs.org/react-native-branch/-/react-native-branch-2.0.0-beta.3.tgz
npm http fetch 200 https://registry.npmjs.org/react-native-maps/-/react-native-maps-0.21.0.tgz
npm http fetch 200 https://registry.npmjs.org/react-native-gesture-handler/-/react-native-gesture-handler-1.0.0-alpha.41.tgz
npm info retry fetch attempt 1 at 10:41:01 PM
npm info attempt registry request try #1 at 10:41:01 PM
npm http fetch GET https://registry.npmjs.org/react-native-svg/-/react-native-svg-6.2.2.tgz
npm http fetch 200 https://registry.npmjs.org/react-native-branch/-/react-native-branch-2.0.0-beta.3.tgz
npm http fetch 200 https://registry.npmjs.org/react-native-svg/-/react-native-svg-6.2.2.tgz
npm info retry fetch attempt 1 at 10:41:01 PM
npm info attempt registry request try #1 at 10:41:01 PM
npm http fetch GET https://registry.npmjs.org/pretty-format/-/pretty-format-21.2.1.tgz
npm http fetch 200 https://registry.npmjs.org/pretty-format/-/pretty-format-21.2.1.tgz
npm http 200 https://registry.npmjs.org/@expo%2fvector-icons
npm http 200 https://registry.npmjs.org/@expo%2fwebsql
npm info retry fetch attempt 1 at 10:41:01 PM
npm info attempt registry request try #1 at 10:41:01 PM
npm http fetch GET https://registry.npmjs.org/@expo/vector-icons/-/vector-icons-6.3.1.tgz
npm info retry fetch attempt 1 at 10:41:01 PM
npm info attempt registry request try #1 at 10:41:01 PM
npm http fetch GET https://registry.npmjs.org/@expo/websql/-/websql-1.0.1.tgz
npm http fetch 200 https://registry.npmjs.org/@expo/websql/-/websql-1.0.1.tgz
npm http fetch 200 https://registry.npmjs.org/@expo/vector-icons/-/vector-icons-6.3.1.tgz
npm ERR! cb() never called!
Skipping cache upload for failed step
Searching for test report files in directories named [test-results, failsafe-reports, test-reports, surefire-reports] down to a depth of 4
Finished scanning for test reports. Found 0 test report files.
Merged test suites, total number tests is 0, with 0 failures and 0 errors.

1 answer

0 votes
Tom Bradshaw Atlassian Team Oct 15, 2018

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket Pipelines

Bitbucket Pipelines Runners is now in open beta

We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...

762 views 15 10
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you