Skip to main content

All Questions

0 votes
1 answer
72 views

Checking for circular dependencies with madge in bitbucket CI

I want to add a step to check for circular dependencies in our bitbucket pipeline, but I'm struggling to come up with a good way to grab the output to throw an error or not Here are the bitbucket ...
maximosis's user avatar
  • 109
1 vote
2 answers
489 views

Yarn Install hangs while building packages in Bitbucket pipeline

I have an issue with Bitbucket pipelines, I use a very simple one to build a docker image and it worked fine for months. Today it suddenly started hanging during yarn install Here's the dockerfile: ...
P_RIFF's user avatar
  • 11
2 votes
0 answers
509 views

Skipping npm_install for a workspace with a cache in 2023

Let's say you have a monorepo with a module federation, with 5 different apps that you want to build in separate CI steps and you need to have all node_modules prior to executing the build of each app....
Phil's user avatar
  • 7,429
2 votes
0 answers
698 views

bitbucket out of memory - terser-webpack-plugin running jest tests in pipeline

Our team is using bitbucket pipelines to build and deploy our react app. Right now, the yarn build step is failing do to a memory exceeded limit issue within bitbucket pipelines. After logging the ...
Drew Gallagher's user avatar
2 votes
0 answers
782 views

Bitbucket Pipeline fails at Step: NPM Install

Angular version 1.4 Bitbucket pipeline failed at NPM Install. here are the logs npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents): npm WARN ...
tsmoghe's user avatar
  • 41
0 votes
2 answers
2k views

How to pass Bitbucket pipeline repository variables to npm run script?

How do I pass a Bitbucket repository variable into the Cypress.io test script that I am running with npm run in a pipeline? The pipeline and tests work, but I am unable to get a Bitbucket variable ...
Kirkland's user avatar
  • 2,487
0 votes
1 answer
4k views

Alternative to NPM

I am working on a project where we handle private data that we cannot risk sharing due to security problems. We have several packages that we have developed for use in applications. We want to control ...
Daniel's user avatar
  • 411
0 votes
1 answer
621 views

Possible to run commands after npm start on the same console?

I'm trying to run Google Lighthouse on a pipeline in my bitbucket repository. In the pipeline, the scripts that I'm running are: - npm install - npm run - <<Google Lighthouse scripts>> ...
worrier's user avatar
  • 91
6 votes
1 answer
6k views

Bitbucket Pipeline: Container 'Build' exceeded memory limit

I am trying to run a pipeline for my Angular App but when it comes to the "npm run build" part it crashes, the fail reason is "Container "Build" exceeded memory limit." I ...
SamuelPorchet's user avatar
1 vote
2 answers
2k views

What is the best way to load environment variables in your build

For a project I am working on I am setting up a BitBucket pipeline. Everything works great except for the environment vars. One of the usages of my env vars is the API_URL. I am loading the url by ...
Bart Bergmans's user avatar
0 votes
1 answer
3k views

npm install error in Bitbucket CI/CD pipeline

I have a pipeline set up for my Bitbucket repository that runs npm install if there is no node cache. Up until now it has worked fine, but the node cache was recently cleared, and now I'm getting the ...
jonchaf's user avatar
  • 156
0 votes
0 answers
265 views

Need to insert username and password after a command executed in bitbucket pipelines

I'm creating a bitbucket pipeline and after the execution of a npm command I have to provide username and password. Normally in my computer I'm the one entering the username and password typing. How ...
Jack1987's user avatar
  • 727
2 votes
1 answer
4k views

Cannot execute bash script in node.js image in bitbucket pipelines

I am using standard bitbucket pipelines template for CI/CD of React app - CRA. I have setup postbuild step in React App to run simple bash script which just changing file structure in build folder. in ...
Petr Savchenko's user avatar
1 vote
3 answers
3k views

BitBucket pipeline shows npm: command not found

After deploying code to my server using bit bucket scp pipe, I am using another pipeline to run a script to install node modules and start node server but the pipeline results as failed status and ...
Madhan's user avatar
  • 89
0 votes
1 answer
716 views

Semantic-release - Error: Cannot find module '../output'

No matter what I do I always get exactly the same error when I run command 'npx semantic-release --debug ' in BitBucket pipelines. Dry-run seems to run fine. Thing I have already tried: reinstall ...
Uvis Senkans's user avatar

15 30 50 per page