GithubHelp home page GithubHelp logo

cypress-weirdness's Introduction

Running with

docker-compose up --exit-code-from cypress

Outputs:

WARNING: using --exit-code-from implies --abort-on-container-exit
Creating e2e_cypress_1 ... done
Attaching to e2e_cypress_1
cypress_1  | npm ERR! code 1
cypress_1  | npm ERR! path /e2e/node_modules/cypress
cypress_1  | npm ERR! command failed
cypress_1  | npm ERR! command sh -c node index.js --exec install
cypress_1  | npm ERR! [STARTED] Task without title.
cypress_1  | npm ERR! [SUCCESS] Task without title.
cypress_1  | npm ERR! [STARTED] Task without title.
cypress_1  | npm ERR! The Cypress App could not be unzipped.
cypress_1  | npm ERR! 
cypress_1  | npm ERR! Search for an existing issue or open a GitHub issue at
cypress_1  | npm ERR! 
cypress_1  | npm ERR! https://github.com/cypress-io/cypress/issues
cypress_1  | npm ERR! 
cypress_1  | npm ERR! ----------
cypress_1  | npm ERR! 
cypress_1  | npm ERR! Error: EACCES: permission denied, mkdir '/root/.cache/Cypress/9.4.1'
cypress_1  | npm ERR! 
cypress_1  | npm ERR! ----------
cypress_1  | npm ERR! 
cypress_1  | npm ERR! Platform: linux-x64 (Debian - 10.11)
cypress_1  | npm ERR! Cypress Version: 9.4.1
cypress_1  | npm ERR! [FAILED] The Cypress App could not be unzipped.
cypress_1  | npm ERR! [FAILED] 
cypress_1  | npm ERR! [FAILED] Search for an existing issue or open a GitHub issue at
cypress_1  | npm ERR! [FAILED] 
cypress_1  | npm ERR! [FAILED] https://github.com/cypress-io/cypress/issues
cypress_1  | npm ERR! [FAILED] 
cypress_1  | npm ERR! [FAILED] ----------
cypress_1  | npm ERR! [FAILED] 
cypress_1  | npm ERR! [FAILED] Error: EACCES: permission denied, mkdir '/root/.cache/Cypress/9.4.1'
cypress_1  | npm ERR! [FAILED] 
cypress_1  | npm ERR! [FAILED] ----------
cypress_1  | npm ERR! [FAILED] 
cypress_1  | npm ERR! [FAILED] Platform: linux-x64 (Debian - 10.11)
cypress_1  | npm ERR! [FAILED] Cypress Version: 9.4.1
cypress_1  | 
cypress_1  | npm ERR! A complete log of this run can be found in:
cypress_1  | npm ERR!     /root/.npm/_logs/2022-02-04T23_31_53_957Z-debug.log
e2e_cypress_1 exited with code 1
Aborting on container exit...

Not sure where 9.4.1 comes from, as it's not referenced anywhere. What can I do to make this work regardless?

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.