https://cypress.io logo
Join Discord
Powered by
# help
  • f

    flat-electrician-52949

    05/21/2021, 6:54 AM
    https://www.cypress.io/blog/2021/04/06/cypress-component-testing-react/
  • f

    flat-electrician-52949

    05/21/2021, 6:54 AM
    just gonna follow this
  • f

    flat-electrician-52949

    05/21/2021, 7:23 AM
    Now it works šŸ¤·ā€ā™‚ļø
  • f

    flat-electrician-52949

    05/21/2021, 7:24 AM
    The cypress tool is super sweet to work with - just loving the new component testing
  • o

    orange-secretary-30196

    05/21/2021, 5:55 PM
    Hi there! I'm new to Cypress and I'm trying to install it in my dev desktop and have been running into some issues.
  • o

    orange-secretary-30196

    05/21/2021, 5:57 PM
    Copy code
    It looks like this is your first time using Cypress: 7.3.0
    
      āœ–  Verifying Cypress can run /home/blabla/.cache/Cypress/7.3.0/Cypress
        → Cypress Version: 7.3.0
    Cypress failed to start.
    
    This is usually caused by a missing library or dependency.
    
    The error below should indicate which dependency is missing.
    
    https://on.cypress.io/required-dependencies
    
    If you are using Docker, we provide containers with all required dependencies installed.
    
    ----------
    
    /home/blabla/.cache/Cypress/7.3.0/Cypress/Cypress: error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory
    
    ----------
    
    Platform: linux (Amazon Linux - 2018.03)
    Cypress Version: 7.3.0
  • o

    orange-secretary-30196

    05/21/2021, 5:58 PM
    I'm not trying the CI as of now, just trying to get started
  • o

    orange-secretary-30196

    05/21/2021, 5:58 PM
    Copy code
    yum install -y xorg-x11-server-Xvfb gtk2-devel gtk3-devel libnotify-devel GConf2 nss libXScrnSaver alsa-lib
  • o

    orange-secretary-30196

    05/21/2021, 5:59 PM
    Already followed these steps but still getting that issue
  • o

    orange-secretary-30196

    05/21/2021, 5:59 PM
    Can someone help?
  • g

    gifted-church-61018

    05/21/2021, 6:21 PM
    Can you please send your OS version @User
  • o

    orange-secretary-30196

    05/21/2021, 6:24 PM
    @User I'm currently using a remote desktop which is an Amazon linux machine -2018.03
  • g

    gifted-church-61018

    05/21/2021, 6:25 PM
    Ah! Got it.. I will have to reproduce this error. Maybe if you can find any Docker image related to this it will be helpful
  • g

    gifted-church-61018

    05/21/2021, 6:25 PM
    Because it's working for me in debian based linux
  • g

    gifted-church-61018

    05/21/2021, 6:26 PM
    No worries! Found it: https://hub.docker.com/_/amazonlinux šŸ˜‚
  • o

    orange-secretary-30196

    05/21/2021, 6:27 PM
    Ok, I need more guidance as I new to Docker as well. Do I need Docker just to get started? How do I go about using it?
  • g

    gifted-church-61018

    05/21/2021, 6:28 PM
    No No @User I needed Docker image so that I could run a container that will reflect the same environment as yours
  • o

    orange-secretary-30196

    05/21/2021, 6:30 PM
    Oh I see..
  • g

    gifted-church-61018

    05/21/2021, 6:36 PM
    Which command gave you that error @User ?
  • g

    gifted-church-61018

    05/21/2021, 6:42 PM
    I have followed same steps as mentioned in docs! Seems to be working for me
  • o

    orange-secretary-30196

    05/21/2021, 6:56 PM
    npx cypress open
  • o

    orange-secretary-30196

    05/21/2021, 6:57 PM
    If it helps I'm using
    pnpm
    instead
  • s

    stocky-dream-36427

    05/21/2021, 7:59 PM
    I don't think we would with pnpm? I'm not sure.
  • o

    orange-secretary-30196

    05/21/2021, 8:13 PM
    @User Do you mean it's not supported with pnpm?
  • s

    stocky-dream-36427

    05/21/2021, 8:26 PM
    @User https://github.com/cypress-io/github-action/issues/145
  • s

    stocky-dream-36427

    05/21/2021, 8:26 PM
    You're using GH actions yeah?
  • s

    stocky-dream-36427

    05/21/2021, 8:26 PM
    This might also fail with core Cypress but i'm not sure
  • u

    user

    05/22/2021, 11:44 AM
    Hi all, Is there a way to run cypress into a project which has
    "type": "module"
    into the
    package.json
    , please? (with ES6 plugins)
  • s

    stocky-dream-36427

    05/22/2021, 5:45 PM
    Hmm @User do you mean with e2e?
  • s

    stocky-dream-36427

    05/22/2021, 5:45 PM
    or with component testing?
1...131415...252Latest