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

semantic-ui@2.2.13 has unmet peer dependency [A LOT]. #6035

Open ghost opened 6 years ago

ghost commented 6 years ago

With a new installation in a new project I have this on npm install or yarn:

warning " > semantic-ui@2.2.13" has unmet peer dependency "better-console@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "del@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "extend@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-autoprefixer@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-chmod@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-clean-css@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-clone@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-concat@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-concat-css@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-copy@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-dedupe@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-flatten@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-header@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-help@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-if@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-less@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-notify@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-plumber@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-print@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-rename@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-replace@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-rtlcss@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-uglify@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-util@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-watch@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "map-stream@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "require-dot-file@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "run-sequence@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "yamljs@*".

Why?

taschetto commented 6 years ago

I have the same issue.

Also, yarn add semantic-ui --dev is taking forever to run...


yarn add v1.3.2
warning ../package.json: No license field
[1/4] Resolving packages...
warning semantic-ui > gulp > vinyl-fs > graceful-fs@3.0.11: please upgrade to graceful-fs 4 forcompatibility with current and future versions of Node.js
warning semantic-ui > gulp-clone > through2 > xtend > object-keys@0.4.0:
warning semantic-ui > gulp > vinyl-fs > glob-stream > minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
warning semantic-ui > gulp > vinyl-fs > glob-watcher > gaze > globule > minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
warning semantic-ui > gulp > vinyl-fs > glob-watcher > gaze > globule > glob > graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
[2/4] Fetching packages...
info fsevents@1.1.3: The platform "linux" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.1.2: The platform "linux" is incompatible with this module.
info "fsevents@1.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > semantic-ui@2.2.13" has unmet peer dependency "better-console@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "del@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "extend@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-autoprefixer@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-chmod@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-clean-css@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-clone@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-concat@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-concat-css@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-copy@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-dedupe@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-flatten@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-header@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-help@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-if@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-less@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-notify@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-plumber@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-print@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-rename@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-replace@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-rtlcss@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-uglify@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-util@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-watch@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "map-stream@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "require-dot-file@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "run-sequence@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "yamljs@*".
[4/4] Building fresh packages...
[1/3] ⢀ node-sass: Binary is fine
[-/3] ⢀ waiting...
[3/3] ⢀ semantic-ui:
[-/3] ⠠ waiting...
[-/3] ⠠ waiting...```

Its been this way for 20+ minutes.

- Ubuntu@17.10
- nodejs@8.9.1
- npm@5.6.0
- yarn@1.3.2
yahyaerturan commented 6 years ago

Same here. I have installed all dependencies with yarn manually but this line semantic-ui@2.2.13" has unmet peer dependency "gulp-util@*". stays in tact though it is installed.

tohanian commented 6 years ago

Having this issue also on a new project. yarn add semantic-ui --dev hangs during install. Here is the terminal output:

yarn add semantic-ui --dev

yarn add v1.3.2
[1/4] 🔍  Resolving packages...
warning gulp-install > gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp-concat-css > gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp > gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp-header > gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp-json-editor > gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp-print > gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp > vinyl-fs > graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
warning semantic-ui > gulp > vinyl-fs > glob-stream > minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
warning semantic-ui > gulp > vinyl-fs > glob-watcher > gaze > globule > minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
warning semantic-ui > gulp > vinyl-fs > glob-watcher > gaze > globule > glob > graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning " > semantic-ui@2.2.13" has unmet peer dependency "better-console@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "del@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "extend@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-autoprefixer@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-chmod@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-clean-css@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-clone@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-concat@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-concat-css@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-copy@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-dedupe@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-flatten@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-header@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-help@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-if@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-less@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-notify@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-plumber@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-print@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-rename@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-replace@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-rtlcss@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-uglify@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-util@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-watch@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "map-stream@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "require-dot-file@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "run-sequence@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "yamljs@*".
[4/4] 📃  Building fresh packages...
[-/4] ⠁ waiting...
[4/4] ⠁ semantic-ui: 
[3/4] ⠁ fsevents: node-pre-gyp info ok
[-/4] ⠂ waiting...
[-/4] ⠂ waiting...

Running MacOS High Sierra

lydia-schow commented 6 years ago

Same problem here. MacOS High Sierra.

$ yarn add semantic-ui
yarn add v1.3.2
info No lockfile found.
[1/4] 🔍  Resolving packages...
warning semantic-ui > gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp-concat-css > gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp > gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp-flatten > gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp-header > gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp-json-editor > gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp-print > gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp > vinyl-fs > graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
warning semantic-ui > gulp > vinyl-fs > glob-stream > minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExpDoS issue
warning semantic-ui > gulp > vinyl-fs > glob-watcher > gaze > globule > minimatch@0.2.14: Please update to minimatch 3.0.2 or higherto avoid a RegExp DoS issue
warning semantic-ui > gulp > vinyl-fs > glob-watcher > gaze > globule > glob > graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning " > semantic-ui@2.2.13" has unmet peer dependency "better-console@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "del@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "extend@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-autoprefixer@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-chmod@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-clean-css@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-clone@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-concat@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-concat-css@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-copy@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-dedupe@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-flatten@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-header@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-help@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-if@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-less@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-notify@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-plumber@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-print@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-rename@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-replace@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-rtlcss@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-uglify@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-util@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "gulp-watch@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "map-stream@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "require-dot-file@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "run-sequence@*".
warning " > semantic-ui@2.2.13" has unmet peer dependency "yamljs@*".
[4/4] 📃  Building fresh packages...
[2/2] ⠄ semantic-ui: Starting 'run setup'...
[-/2] ⠄ waiting...
[-/2] ⠄ waiting...
[-/2] ⠄ waiting...
[-/2] ⠄ waiting...
├─ buffer@4.9.1
taschetto commented 6 years ago

The problem

yarn add semantic-ui never finishes.

The cause

semantic-ui post-install script asks for user input for its configuration.

The reason

yarn does not support interactive scripts by design. So the post-install script will wait forever for the user input which will never arrive.

The solution

Install using npm. :)

msharitasa commented 6 years ago

It is better to have an option wether to include gulp or not. As document states, "Semantic UI uses Gulp to provide command line tools for building themed versions of the library with just the components you need.", most may not need themed versions...

Current method is very time consuming and error-prone

tohanian commented 6 years ago

@taschetto Thanks, that did the trick! It's confusing that the documentation specifically instructs to $ yarn add semantic-ui --dev

ojkelly commented 6 years ago

Could the install script check to see if there's a semantic.json already, and skip the interactive bit?

jlukic commented 6 years ago

There's a config option to skip interactive install, autoInstall: true https://github.com/Semantic-Org/Semantic-UI/blob/master/semantic.json.example#L21

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

brunotourinho commented 6 years ago

bump, not to stale this issue

Ray-Eldath commented 6 years ago

Same issue for yarn, at version 2.3.3

wittyurchin commented 5 years ago

Its july 1 2019 and I am still facing this issue when using yarn but not with npm.

brunotourinho commented 5 years ago

Hey @wittyurchin,

Try this: https://fomantic-ui.com/