GithubHelp home page GithubHelp logo

Comments (3)

jdvegmond avatar jdvegmond commented on August 25, 2024 1

I've noticed that this issue disappears if you include 'cypress' as npm-dependency in browserstack.json

from browserstack-cypress-cli.

sharutkarsh avatar sharutkarsh commented on August 25, 2024

Hi Andreas,

I hope you are doing well.

I have read through your query and understood the issue.

Please try to install cypress on the CI env at the project level folder. This should solve the error.
The problem here is that you are importing cypress in its cypress.config.js file which can be done with cypress 10. At the CLI level, it read the cypress.config.js file for validations and tries to read projectId if the user forgot to mention the same in browserstack.json or passes it as a CLI arg.

The above-mentioned fix should solve the problem, otherwise please reach out to their technical support team.

I hope this helps.

Thanks!

from browserstack-cypress-cli.

swatinigam avatar swatinigam commented on August 25, 2024

Hi @sharutkarsh I have a similar question. We are using Cypress 12. The cypress config file has cypress import like so: import { defineConfig } from "cypress";

Our browserstack.json file clearly mentions the projectId. Do we still need to install Cypress in our CI environment? Is installing Cypress in our CI a prerequisite to browserstack-cypress package? It doesn't appear to be from this repo's readme, but would like to confirm.

Thank you for your help!

-Swati

from browserstack-cypress-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.