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 fomantic-ui with yarn - gulp install fails

See original GitHub issue

Help Wanted

Problem

Installation with yarn is not working when running with the following

yarn add fomantic-ui --ignore-scripts yarn --cwd node_modules/fomantic-ui run install

the install (autoInstall mode) gulp task seems to fail due to missing semantic.json?

logs:

yarn run v1.16.0
$ gulp install
[11:58:09] Using gulpfile C:\Projects\TESTTelemetry\create-react-app\rsg-telemetry\front\node_modules\fomantic-ui\gulpfile.js
[11:58:09] Starting 'install'...
[11:58:09] Starting 'run setup'...
[11:58:09] Finished 'run setup' after 1 ms
[11:58:09] Starting 'create install files'...
Auto-Installing (Without User Interaction)
------------------------------
[11:58:09] 'create install files' errored after 1.63 ms
[11:58:09] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at validateString (internal/validators.js:125:11)
    at Object.join (path.js:427:7)
    at C:\Projects\TESTTelemetry\create-react-app\rsg-telemetry\front\node_modules\fomantic-ui\tasks\install.js:273:28
    at taskWrapper (C:\Projects\TESTTelemetry\create-react-app\rsg-telemetry\front\node_modules\undertaker\lib\set-task.js:13:15)
    at bound (domain.js:402:14)
    at runBound (domain.js:415:12)
    at asyncRunner (C:\Projects\TESTTelemetry\create-react-app\rsg-telemetry\front\node_modules\async-done\index.js:55:18)
    at process._tickCallback (internal/process/next_tick.js:61:11)
[11:58:09] 'install' errored after 6.38 ms
error Command failed with exit code 1.

more details below…

https://github.com/fomantic/Fomantic-UI/issues/386#issuecomment-501092373 https://github.com/fomantic/Fomantic-UI/issues/386#issuecomment-501099409

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
wilparcommented, Mar 19, 2020

i’m on a quest to have a fully functional install on rails 6, without legacy app/assets. A yarn install would ‘complete me’.

4reactions
robclancycommented, Mar 11, 2020

I came to this package instead of semantic hoping at the very least they had installing working. But here we are still… 2020 and a css framework won’t install properly because it hacks in its own installation crap.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting Started | Fomantic-UI Docs
If you want to use theming you must install Fomantic-UI with NPM this ensures you get all the files needed to create and...
Read more >
fomantic-ui - npm
Start using fomantic-ui in your project by running `npm i fomantic-ui`. There are 13 other projects in the npm registry using fomantic-ui.
Read more >
fomantic-ui-css - npm Package Health Analysis - Snyk
The npm package fomantic-ui-css was scanned for known vulnerabilities and missing license, and no issues were found. Thus the package was deemed as...
Read more >
Semantic-ui install fail npm - Stack Overflow
I use yarn which has this built in. I believe you must use a package like this for npm https://github.com/rogeriochaves/npm-force-resolutions.
Read more >
Get Started - Semantic UI React
React components can be installed via yarn or npm : bash. $ yarn add semantic-ui-react semantic-ui-css ## Or NPM $ npm install semantic-ui-react ......
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