Code Monkey home page Code Monkey logo

Comments (5)

prescottprue avatar prescottprue commented on June 12, 2024

I have not experienced this, but most often am running node 10. Have you tried doing what the error says and setting the environment variable:

process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = 0;

I'll look into if this should be added as part of the code for newer node versions. Not sure, but it seems like node is trying to make an https request but there is not the right certificate as mentioned in this stackoverflow post.

So I can debug further, what was the custom command you were calling? cy.login?

from cypress-firebase.

bartlomiejborzucki avatar bartlomiejborzucki commented on June 12, 2024

Hi,
thanks for the answer. I used the angular-dev server and this specific command: cy.callFirestore.

In the beginning, I thought that it is a cypress problem so I found this issue: https://github.com/cypress-io/cypress/pull/5256/files and upgraded the cypress version to 3.5 and later to 3.6, but this error didn't disappear.

I didn't try this: process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = 0; but I tried this:

export NODE_TLS_REJECT_UNAUTHORIZED=0 && npm run e2e

and it didn't help as well.

from cypress-firebase.

prescottprue avatar prescottprue commented on June 12, 2024

Are you sure that the fix mentioned in that issue was included in v3.6 of cypress? I don't see it listed anywhere in the release notes, but it is weird because I do see it in the master branch. I'm going to look into replicating to see if there is maybe some environment not being passed into scripts being called in exec

from cypress-firebase.

bartlomiejborzucki avatar bartlomiejborzucki commented on June 12, 2024

I'm not sure but I found this: cypress-io/cypress#5248
This path was added to Cypress 3.5.

from cypress-firebase.

prescottprue avatar prescottprue commented on June 12, 2024

Closing this since it is similar to #13 - updates for this issue will be made there. Thanks for reporting

from cypress-firebase.

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.