question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installing through yarn freezes

See original GitHub issue

When installing Semantic-UI using yarn, yarn gets stuck when it runs the install script of Semantic. It does not matter whether the "autoInstall": true is set in semantic.json, so it doesn’t seem to be a problem with the interactive CLI itself.

When yarn is called using --ignore-scripts it finishes the installation without problems.

This is probably a problem with yarn itself and an issue has been made on the issue tracker of yarn that can be found here, but for completeness I thought to create one here as well.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:43
  • Comments:21 (2 by maintainers)

github_iconTop GitHub Comments

8reactions
bensaufleycommented, Jul 25, 2017

In the end I ran npm install --save semantic-ui, which ran the install script, and then yarn install which baked the versions into yarn.lock and gulp install was quietly circumvented because it considered Semantic UI had already been installed. Kind of clunky but I think it did the trick?

7reactions
michgeekcommented, Jul 25, 2017

Half a Solution:

I have found that if you use semantic.json and have autoInstall: false it will skip the interactive CLI and won’t freeze your build!

The condition for it to work is to have semantic-ui already installed at the location given at "base"

Read more comments on GitHub >

github_iconTop Results From Across the Web

yarn install hangs during "Fetching packages..." #764 - GitHub
Bug What is the current behavior? yarn install hangs at fetching packages and does not provide any further information as to the cause....
Read more >
Yarn install hangs and never completes - CircleCI Discuss
Set the install command to - sleep 150 && yarn install · SSH into the node during build, stay in bash shell ·...
Read more >
Why does `yarn install` hang when fetching packages on ...
When attempting to install the dependencies for my project with Yarn via yarn install , the process (and progress bar indicator) hangs when ......
Read more >
yarn install
Running yarn with no command will run yarn install , passing through any ... the continuous integration systems, you should pass --frozen-lockfile flag....
Read more >
Freezing your Node.js dependencies with yarn.lock and
The default behavior of yarn install is that the yarn.lock file gets updated if there is any mismatch between package.json and yarn.lock ....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found