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

Your Points Tracker
  • 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
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?
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

I cannot run my project pipeline correctly due to a problem with a dependency

The company (SunDevs) has a repository called "kiosk-ck-app" and this repo use a dependency named "usb".
The problem is when I try to run the repo's pipeline it always fails on the dependencies installation step. Reading the log I found an error with the usb dependency and the log shows this problem

ERROR in ./node_modules/escpos/adapter/usb.js
Module not found: Error: Can't resolve 'usb' in '/usr/local/share/.cache/yarn/v6/.tmp/4687347722768e2d2219861121344c34.b8a068ccc68304939aa7d4f900a033a2a88a624c.prepare/node_modules/escpos/adapter'
@ ./node_modules/escpos/adapter/usb.js 28:10-24
prebuild-install info looking for cached prebuild @ /root/.npm/_prebuilds/8994f7-usb-v1.7.0-napi-v7.1.13-linux-x64.tar.gz
prebuild-install http request GET
prebuild-install http 404

As you can see it does not find anything in this url brought by the pipeline cache = usb-v1.7.0-napi-v7.1.13-linux-x64.tar.gz
Because the node-usb library has a different asset published in its repo (node-usb_reseases.png)

Is it a bug from the linux instance of bitbucket pipeline? What would be the problem? I need help with this topic please


1 answer

0 votes

@Kevin Alejandro Hernández Rodríguez Are you caching the node dependencies and can you try after disabling the cache?

Suggest an answer

Log in or Sign up to answer
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...

457 views 9 8
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