Questions tagged [circleci]

CircleCI is a cutting-edge continuous integration testing platform that seamlessly integrates with leading code management platforms like GitHub. It offers commercial features while also extending its services for free to open source projects.

Tests pass successfully on local environment, but encounter failures on Circle CI

I've encountered an issue with my ActiveAdmin view while running feature specs on CircleCi. It works perfectly fine on my local machine, but fails with the error message: undefined method `text' for nil:NilClass spec it 'utilizes the updated_at date ...

Encountered 'Exceeded Maximum Call Stack Size' error with dotenv-expand while running React on CircleCI

I'm currently facing an error while attempting to build a react app on CircleCI. This issue has recently surfaced whenever I run the command npm run build in my circle.yml file: #!/bin/bash -eo pipefail npm run build > <a href="/cdn-cgi/l/email ...

Creating NodeJS Lambda - identical content, distinct SHA checksum

I'm encountering a perplexing issue and I can't seem to identify the root cause. Let me share my experience: My objective is to utilize Terraform for managing Lambda functions, with CircleCI serving as the orchestrator. The process unfolds as follows: ...

CircleCI build encounters "Permission denied" error when running npm command

I recently upgraded CircleCI to version 2.0 and now I am encountering an error when trying to run tests. The specific error message is: > npm test sh: 1: npm: Permission denied Any suggestions on how to resolve this issue? Can I use sudo or implement ...

Troubleshooting npm test failure on CircleCI due to inability to locate installed package

It's puzzling that Circle is encountering issues with utilizing ts-mocha after it was successfully installed with npm install in a previous step of the build process. The functionality used to function properly, but now it suddenly stopped working. Here ...

What could be causing Selenium to point to the wrong root directory in this particular CircleCI 2.0 build?

I'm currently in the process of setting up a Rails application for testing on CircleCI 2.0, which was previously functioning well on v1.0. I have created a configuration file with the following Docker images (this is my first experience with Docker, so I' ...

What is the process for configuring simultaneous services on CircleCI for testing purposes?

My current project involves running tests with Jasmine and WebdriverIO, which I want to automate using CircleCI. As someone new to testing, I'm a bit unsure of the process. Here's what I've gathered so far: To run the tests, I use npm tes ...

Can one install an npm package only if it has not already been installed?

Can the installation of an npm package be skipped if it is already installed? I am looking to streamline my tests on CircleCI, but every time I run npm install <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="ccbcbea3b8beadafb8a ...

Looking for a more efficient approach for my CircleCI testing process

My current CircleCI yaml file runs a separate test script for each app, which is not "DRY." I believe a better solution would be to run the test script from the root directory and loop over each app. However, I'm having trouble figuring out how to do that. ...

The CircleCI module has not been installed on this system

I am encountering an issue on Circle CI where a container goes through all tests and performs an npm install to download all packages listed in the package.json. However, it appears that some packages are not being installed correctly, leading to a failure ...