Semantic-Org / Semantic-UI

Semantic is a UI component framework based around useful principles from natural language.
http://www.semantic-ui.com
MIT License
51.12k stars 4.94k forks source link

Can't install Semantic UI 2.4.2 #7057

Open samis-dv opened 3 years ago

samis-dv commented 3 years ago

Use the format: [Component] Component Should Do X i.e. [Checkbox] onChange Should Fire When Update Triggered via DOM

Steps

Installed npm installl -g gulp Installed npm install semantic-ui --save It threw an error

Expected Result

Semantic UI is installed in my project

Actual Result

Throws an error on install. Should I be loading an older version? image image

Version

2.4.2

samis-dv commented 3 years ago

I tried the same thing with npm i semantic-ui@2.4.1 --save but it threw the same exact errors

GammaGames commented 3 years ago

Try installing the community fork, #7035

samis-dv commented 3 years ago

Does it have the same updates as Semantic UI? I want a long term solution I don't want to switch the package mid development.

GammaGames commented 3 years ago

Semantic hasn't had an update since 2018, fomantic has a ton of bugfixes and extra features. Their last release is less than a week ago. I haven't had any compatibility issues since switching a few years ago.

samis-dv commented 3 years ago

Awesome. What about Semantic UI React is it a official plugin? https://react.semantic-ui.com/

GammaGames commented 3 years ago

iirc SUIR is official, but they are not fully compatible with FUI yet. Looks like they're working on a compat layer, though I do not know the status of it. I do not use SUIR.

jemesome commented 3 years ago

This is versioning issue between nodejs and gulp. On my Mac I tried node version v10.24.1 and gulp version 3.9.1 and it works. This should be mentioned in the getting started page. When you install gulp, it will default to the latest release, version 4, which causes the problem. I'm not sure what the version of nodejs we are supposed to use, but try using gulp lower than v4.

Other than that, i'm liking the ease of use of this framework a ton. Awesomely simple once you get passed the initial install hump.