Giter Site home page Giter Site logo

Comments (5)

olleolleolle avatar olleolleolle commented on July 25, 2024 1

Well, turned out to be a flaky issue. Re-opening. Chasing this lead "perhaps the different machines running the payload on CircleCI have different /etc/ssl/certs/ca-certificates.crt content".

from node-orb.

Jaryt avatar Jaryt commented on July 25, 2024 1

Since this is a flaky issue that currently seems out of our control, and since there is a simple one line fix; I don't think it's worth us supporting.

For anyone in the future that may view this: if you would like to take the risk and run curl in insecure mode, add this command to your config.yml before the install-yarn command:

name: "Turn on insecure mode for curl"
command: echo insecure >> $HOME/.curlrc

Credit to: https://discuss.circleci.com/t/yarn-install-failing-node-orb/41477/4

from node-orb.

Jaryt avatar Jaryt commented on July 25, 2024

Hi! Can you confirm that you are still receiving this error? Is it an intermittent problem, or are there specific circumstances where this might occur?

Either way, we would be wary to provide a fix which runs curl in insecure mode. The work around in the discuss post would be the best solution but we would not implement that in the orb.

from node-orb.

Jaryt avatar Jaryt commented on July 25, 2024

Adding wontfix for now, unless there are conditions we can implement to alleviate the problem that isn't putting curl into an unsafe mode.

from node-orb.

olleolleolle avatar olleolleolle commented on July 25, 2024

The workaround removed, the CI job ran to completion. Closing issue.

Sample output

Selected version of Yarn is 1.22.17
Checking if YARN is already installed...
A different version of Yarn is installed (1.22.5); removing it
Installing YARN v1.22.17
Verifying YARN install
Success! Yarn 1.22.17 has been installed to /usr/local/bin/yarn

CircleCI received exit code 0

from node-orb.

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.