Semantic-ui: [email protected] has unmet peer dependency [A LOT].

Created on 17 Dec 2017  ยท  14Comments  ยท  Source: Semantic-Org/Semantic-UI

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

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

Why?

Most helpful comment

Hey @wittyurchin,

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

All 14 comments

I have the same issue.

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

โฏ yarn add semantic-ui --dev yarn add v1.3.2 warning ../package.json: No license field [1/4] Resolving packages... warning semantic-ui > gulp > vinyl-fs > [email protected]: please upgrade to graceful-fs 4 forcompatibility with current and future versions of Node.js warning semantic-ui > gulp-clone > through2 > xtend > [email protected]: warning semantic-ui > gulp > vinyl-fs > glob-stream > [email protected]: 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 > [email protected]: 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 > [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js [2/4] Fetching packages... info [email protected]: The platform "linux" is incompatible with this module. info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. info [email protected]: The platform "linux" is incompatible with this module. info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. [3/4] Linking dependencies... warning " > [email protected]" has unmet peer dependency "better-console@*". warning " > [email protected]" has unmet peer dependency "del@*". warning " > [email protected]" has unmet peer dependency "extend@*". warning " > [email protected]" has unmet peer dependency "gulp@*". warning " > [email protected]" has unmet peer dependency "gulp-autoprefixer@*". warning " > [email protected]" has unmet peer dependency "gulp-chmod@*". warning " > [email protected]" has unmet peer dependency "gulp-clean-css@*". warning " > [email protected]" has unmet peer dependency "gulp-clone@*". warning " > [email protected]" has unmet peer dependency "gulp-concat@*". warning " > [email protected]" has unmet peer dependency "gulp-concat-css@*". warning " > [email protected]" has unmet peer dependency "gulp-copy@*". warning " > [email protected]" has unmet peer dependency "gulp-dedupe@*". warning " > [email protected]" has unmet peer dependency "gulp-flatten@*". warning " > [email protected]" has unmet peer dependency "gulp-header@*". warning " > [email protected]" has unmet peer dependency "gulp-help@*". warning " > [email protected]" has unmet peer dependency "gulp-if@*". warning " > [email protected]" has unmet peer dependency "gulp-less@*". warning " > [email protected]" has unmet peer dependency "gulp-notify@*". warning " > [email protected]" has unmet peer dependency "gulp-plumber@*". warning " > [email protected]" has unmet peer dependency "gulp-print@*". warning " > [email protected]" has unmet peer dependency "gulp-rename@*". warning " > [email protected]" has unmet peer dependency "gulp-replace@*". warning " > [email protected]" has unmet peer dependency "gulp-rtlcss@*". warning " > [email protected]" has unmet peer dependency "gulp-uglify@*". warning " > [email protected]" has unmet peer dependency "gulp-util@*". warning " > [email protected]" has unmet peer dependency "gulp-watch@*". warning " > [email protected]" has unmet peer dependency "map-stream@*". warning " > [email protected]" has unmet peer dependency "require-dot-file@*". warning " > [email protected]" has unmet peer dependency "run-sequence@*". warning " > [email protected]" 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.

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

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 > [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp-concat-css > [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp > [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp-header > [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp-json-editor > [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp-print > [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp > vinyl-fs > [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
warning semantic-ui > gulp > vinyl-fs > glob-stream > [email protected]: 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 > [email protected]: 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 > [email protected]: 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 " > [email protected]" has unmet peer dependency "better-console@*".
warning " > [email protected]" has unmet peer dependency "del@*".
warning " > [email protected]" has unmet peer dependency "extend@*".
warning " > [email protected]" has unmet peer dependency "gulp@*".
warning " > [email protected]" has unmet peer dependency "gulp-autoprefixer@*".
warning " > [email protected]" has unmet peer dependency "gulp-chmod@*".
warning " > [email protected]" has unmet peer dependency "gulp-clean-css@*".
warning " > [email protected]" has unmet peer dependency "gulp-clone@*".
warning " > [email protected]" has unmet peer dependency "gulp-concat@*".
warning " > [email protected]" has unmet peer dependency "gulp-concat-css@*".
warning " > [email protected]" has unmet peer dependency "gulp-copy@*".
warning " > [email protected]" has unmet peer dependency "gulp-dedupe@*".
warning " > [email protected]" has unmet peer dependency "gulp-flatten@*".
warning " > [email protected]" has unmet peer dependency "gulp-header@*".
warning " > [email protected]" has unmet peer dependency "gulp-help@*".
warning " > [email protected]" has unmet peer dependency "gulp-if@*".
warning " > [email protected]" has unmet peer dependency "gulp-less@*".
warning " > [email protected]" has unmet peer dependency "gulp-notify@*".
warning " > [email protected]" has unmet peer dependency "gulp-plumber@*".
warning " > [email protected]" has unmet peer dependency "gulp-print@*".
warning " > [email protected]" has unmet peer dependency "gulp-rename@*".
warning " > [email protected]" has unmet peer dependency "gulp-replace@*".
warning " > [email protected]" has unmet peer dependency "gulp-rtlcss@*".
warning " > [email protected]" has unmet peer dependency "gulp-uglify@*".
warning " > [email protected]" has unmet peer dependency "gulp-util@*".
warning " > [email protected]" has unmet peer dependency "gulp-watch@*".
warning " > [email protected]" has unmet peer dependency "map-stream@*".
warning " > [email protected]" has unmet peer dependency "require-dot-file@*".
warning " > [email protected]" has unmet peer dependency "run-sequence@*".
warning " > [email protected]" 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

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 > [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp-concat-css > [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp > [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp-flatten > [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp-header > [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp-json-editor > [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp-print > [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning semantic-ui > gulp > vinyl-fs > [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
warning semantic-ui > gulp > vinyl-fs > glob-stream > [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExpDoS issue
warning semantic-ui > gulp > vinyl-fs > glob-watcher > gaze > globule > [email protected]: 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 > [email protected]: 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 " > [email protected]" has unmet peer dependency "better-console@*".
warning " > [email protected]" has unmet peer dependency "del@*".
warning " > [email protected]" has unmet peer dependency "extend@*".
warning " > [email protected]" has unmet peer dependency "gulp@*".
warning " > [email protected]" has unmet peer dependency "gulp-autoprefixer@*".
warning " > [email protected]" has unmet peer dependency "gulp-chmod@*".
warning " > [email protected]" has unmet peer dependency "gulp-clean-css@*".
warning " > [email protected]" has unmet peer dependency "gulp-clone@*".
warning " > [email protected]" has unmet peer dependency "gulp-concat@*".
warning " > [email protected]" has unmet peer dependency "gulp-concat-css@*".
warning " > [email protected]" has unmet peer dependency "gulp-copy@*".
warning " > [email protected]" has unmet peer dependency "gulp-dedupe@*".
warning " > [email protected]" has unmet peer dependency "gulp-flatten@*".
warning " > [email protected]" has unmet peer dependency "gulp-header@*".
warning " > [email protected]" has unmet peer dependency "gulp-help@*".
warning " > [email protected]" has unmet peer dependency "gulp-if@*".
warning " > [email protected]" has unmet peer dependency "gulp-less@*".
warning " > [email protected]" has unmet peer dependency "gulp-notify@*".
warning " > [email protected]" has unmet peer dependency "gulp-plumber@*".
warning " > [email protected]" has unmet peer dependency "gulp-print@*".
warning " > [email protected]" has unmet peer dependency "gulp-rename@*".
warning " > [email protected]" has unmet peer dependency "gulp-replace@*".
warning " > [email protected]" has unmet peer dependency "gulp-rtlcss@*".
warning " > [email protected]" has unmet peer dependency "gulp-uglify@*".
warning " > [email protected]" has unmet peer dependency "gulp-util@*".
warning " > [email protected]" has unmet peer dependency "gulp-watch@*".
warning " > [email protected]" has unmet peer dependency "map-stream@*".
warning " > [email protected]" has unmet peer dependency "require-dot-file@*".
warning " > [email protected]" has unmet peer dependency "run-sequence@*".
warning " > [email protected]" 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...
โ”œโ”€ [email protected]

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. :)

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

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

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

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

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.

bump, not to stale this issue

Same issue for yarn, at version 2.3.3

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

Hey @wittyurchin,

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

guilhermeblanco picture guilhermeblanco  ยท  3Comments

deneuxa picture deneuxa  ยท  3Comments

miguelmota picture miguelmota  ยท  3Comments

sarbona picture sarbona  ยท  3Comments

mixerp picture mixerp  ยท  3Comments