All Questions
Tagged with bitbucket-pipelines node.js
85
questions
0
votes
0
answers
71
views
Getting issue in building docker image in bitbucket pipeline
Facing issue in building image in bitbucket pipeline, which is working fine in locally in ubuntu 22.04 wsl and windows as well.
Dockerfile
https://github.com/vercel/next.js/blob/canary/examples/with-...
1
vote
0
answers
216
views
nvm make node available in bitbucket pipeline script
I created a shell script that installs a certain node version:
#!/bin/bash
set -e
mkdir nvmhome
export NVM_DIR="nvmhome"
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/...
-1
votes
1
answer
53
views
Serverless Deployment Failure: "service" property is not accessible
Any ideas why this Serverless Framework deployment is failing? It uses a bitbucket pipeline, which has a step to deploy to AWS.
On the actual deployment, though, it seems to run into issues accessing ...
-1
votes
1
answer
131
views
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory - removing sourcemaps still fails
Our team has a CRA application and we are using the following script to build locally and in bitbucket pipelines
node --max-old-space-size=8192 scripts/build.js
We are all getting this error now with ...
0
votes
0
answers
77
views
My Bitbucket pipeline never stops after completing the integration test
I'm running integration testing in the bitbucket pipeline. To run the integration test I need to run the project first then run the karma to test my test cases. But after the test is completed my ...
2
votes
1
answer
755
views
MongoMemoryServer - Instance failed to start because a library is missing or cannot be opened: "libcurl.so.4"
I'm writing an integration test using jest. The test was successfully run on my Mac. But it throws an error in Bitbucket pipelines. I'm using pnpm in Bitbucket pipelines.
The error is:
FAIL __tests__/...
0
votes
1
answer
291
views
missing packages in bitbucket pipeline
Hy everyone. I'm trying to make a pipeline for my nextjs-project and got some problem
I have especial function for generate buildId
# scripts/generate-build-id.js
const nextBuildId = require('next-...
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....
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 ...
8
votes
3
answers
16k
views
yarn build - error Command failed with exit code 137 - Bitbucket Pipelines out of memory - Using max memory 8192mb
Our react app is configured to build and deploy using the CRA scripts and Bitbucket Pipelines.
Most of our builds are failing from running yarn build with the following error:
error Command failed ...
2
votes
1
answer
874
views
As of react-scripts >=2 you must specify targeted browsers - the browserlist is already in the package.json
When I run the yarn build script in my pipeline for our react app, it runs
node --max-old-space-size=8192 scripts/build.js
Then I get the following error
Failed to compile.
As of react-scripts >=2 ...
1
vote
0
answers
64
views
How to connect to docker daemon using docker in docker without privilege mode
I'm new to BitBucket Piepline and trying to use it as GitLab Ci way.
Now I happen to face an issues where I was trying to build docker in docker container using dnd.
error during connect: Post "...
0
votes
0
answers
775
views
openssl: ca key too small but key size is 4096
I am getting a weird error when try to upload a zip to an external API. The error is "ca key too small".
I have already verified and my p12(key + certificate) is generated with SHA256 ...
1
vote
1
answer
326
views
Error build Angular application: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
My build and deployment just suddenly stopped working for no reason. It was working a few months ago but now it is failing. Below is the error message.
ERROR in ./src/styles/global.scss
Module build ...
1
vote
2
answers
3k
views
Next.js build stuck compiling during docker build in bitbucket pipeline
I have converted a legacy react app from using Webpack 3 to use Next.js 12 and Webpack 5.
I am currently trying to deploy the project using Docker through bitbucket pipelines but when running next ...