Cypress || Gitlab Error while running job

Hi everyone, this is my cypress.config.

Blockquote const { defineConfig } = require(“cypress”);

module.exports = defineConfig({
video: true,
projectId: “akr42b”,
browser: [“chrome”],

// Define the retries configuration directly under the main object
// Other Cypress configuration options can be added here as needed
retries: {
// Configure retry attempts for cypress run
runMode: 0,
// Configure retry attempts for cypress open
openMode: 0,

defaultCommandTimeout: 10000, // Set the default timeout to 10,000 milliseconds (10 seconds)

e2e: {
setupNodeEvents(on, config) {
return {
browsers: config.browsers.filter(
(b) => === “chromium” && !== “electron”

and after pushing it to gitlab,job starts to run, but i receive this error.

Now i have this error.
sh: 1: cypress: Permission denied

So Is anyone familiar with these errors? If so, what did you have to do to overcome them? What worked for you?

Hey @nar13 Welcome to MoT, to try a solution for the error specified:

It would be helpful if you share the yml file of the GitLab pipeline.
:no_bell: Ignore this if this has been resolved from your end already!