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.

Fomantic and yarn - install issues

See original GitHub issue

Bug Report

Steps to reproduce

  1. having an existing package.json with fomantic ui as dep
  2. lauch yarn install
  3. Error while building fomantic ui

Expected result

The installation have no problems

Actual result

error while building fomantic ui

Screenshot (when possible)

console screenshot

Version

fomantic : 2.7.1 yarn : 1.13.0

is fomantic not “compatible” with yarn ?

ps : I’m trying yarn because it’s recommended to build Symfony assets.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:21 (11 by maintainers)

github_iconTop GitHub Comments

15reactions
hammy2899commented, Feb 1, 2019

@mathieutu I just did some more research into this and figured out a way around the issue.

You can install the package and ignore the install script via the following command

$ yarn add fomantic-ui --ignore-scripts

This will of course not create your semantic.json or install directory so you must run the following command to run the install script

$ yarn --cwd node_modules/fomantic-ui run install
7reactions
jeffrsoncommented, Oct 2, 2019

IMO, running with “–ignore-scripts” is not a solution but, at best, a workaround. Furthermore, if running this in a yarn workspace or by lerna there will be further issues.

Is there any reason this can’t be fixed properly?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting Started | Fomantic-UI Docs
If you have any problems or questions please open a issue on the GitHub repository . Installation. You can install Fomantic-UI via NPM...
Read more >
Use Semantic UI with Lerna and yarn workspaces
The Semantic UI (and Fomantic UI) installer (famously?) doesn't support yarn because of its interactive postinstall script. Even with " ...
Read more >
fomantic-ui-css - npm
Install · Repository · Homepage · Weekly Downloads · Version · License · Unpacked Size · Total Files.
Read more >
braintree-web | Yarn - Package Manager
This is the repo to submit issues if you have any problems or questions about a Braintree JavaScript integration. For a ready-made payment...
Read more >
How to watch and stream A Love Yarn - 2021 on Roku
2021TVGRomantic comedyromancedramacomedy. The owner of a quaint New Zealand yarn shop gets her world flipped upside down after learning her top supplier of ......
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