“WARN peerdependencies”同时安装Semantic-UI [英] "WARN peerdependencies" while installing Semantic-UI

查看:146
本文介绍了“WARN peerdependencies”同时安装Semantic-UI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遵循Semantic-UI网站上发布的所有指令来安装框架,即:
$ b


  • 安装节点:I已经通过运行node -v来确认它已经正确安装,我得到了v0.12.7。 Node安装在/ usr / local / include中,并且我已经没有执行$ PATH以反映更改。

  • 安装gulp:我运行sudo npm install -g gulp在全局安装gulp / usr / local / lib / node_modules(非sudo命令给了我错误并提示了sudo命令)



文件夹并运行npm install semantic-ui --save,我得到:

  npm WARN peerDependencies同等依赖关系更好-console @ *包含在semantic-ui中不会有
npm WARN peerDependencies会被自动安装以完成peerDependency
npm WARN peerDependencies in npm 3+。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui包含的peer dependency del @ *将不会有
npm WARN peerDependencies会自动安装更长时间以实现peerDependency
npm WARN peerDependencies in npm 3+。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui中包含的peer dependency extend @ *不会包含
npm WARN peerDependencies会自动安装以实现peerDependency $ b $ nnpm WARN peerDependencies in npm 3+。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui包含的对等依赖项gulp @ *不会包含
npm WARN peerDependencies会自动安装以实现peerDependency
npm WARN peer在npm 3+中的依赖关系。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui包含的对等依赖项gulp-autoprefixer @ *不会包含
npm WARN peerDependencies会自动安装更长时间以实现peerDependency
npm WARN peerDependencies in npm 3+。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui中包含的对等依赖项gulp-chmod @ *不会包含
npm WARN peerDependencies会自动安装以实现peerDependency
npm WARN peer在npm 3+中的依赖关系。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui包含的对等依赖项gulp-clone @ *不会包含
npm WARN peerDependencies会自动安装更长时间以实现peerDependency
npm WARN peerDependencies in npm 3+。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui中包含的对等依赖项gulp-concat @ *不会包含
npm WARN peerDependencies会自动安装更长时间以完成peerDependency
npm WARN peerDependencies in npm 3+。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui中包含的对等依赖项gulp-concat-css @ *不包含
npm WARN peerDependencies会自动安装以实现peerDependency
npm WARN peer在npm中的依赖关系3+ 。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui包含的peer dependency gulp-copy @ *将不会有
npm WARN peerDependencies会被自动安装以实现peerDependency
npm WARN peer在npm 3+中的依赖关系。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui包含的对等依赖项gulp-flatten @ *不会包含
npm WARN peerDependencies会自动安装以实现peerDependency
npm WARN peer在npm 3+中的依赖关系。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui中包含的对等依赖项gulp-header @ *不会包含
npm WARN peerDependencies会自动安装更长时间以实现peerDependency
npm WARN peer在npm 3+中的依赖关系。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui包含的对等依赖项gulp-help @ *不会包含
npm WARN peerDependencies会自动安装以实现peerDependency
npm WARN peer在npm 3+中的依赖关系。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui中包含的对等依赖项gulp-if @ *不会包含
npm WARN peerDependencies会自动安装以实现peerDependency $ b $ nnpm WARN peerDependencies in npm 3+。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui包含的对等依赖项gulp-less @ *不会包含
npm WARN peerDependencies会自动安装以实现peerDependency
npm WARN peer在npm 3+中的依赖关系。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui包含的对等依赖项gulp-minify-css @ *不会包含
npm WARN peerDependencies会自动安装以实现peerDependency
npm WARN peer在npm中的依赖关系3+ 。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui包含的peer dependency gulp-notify @ *将不会有
npm WARN peerDependencies会自动安装以实现peerDependency
npm WARN peerDependencies in npm 3+。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui包含的对等依赖项gulp-plumber @ *不会包含
npm WARN peerDependencies会自动安装以实现peerDependency
npm WARN peer在npm 3+中的依赖关系。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui中包含的对等依赖项gulp-print @ *将不会包含
npm WARN peerDependencies会自动安装以实现peerDependency
npm WARN peer在npm 3+中的依赖关系。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui包含的对等依赖项gulp-rename @ *不会包含
npm WARN peerDependencies会被自动安装以完成peerDependency
npm WARN peerDependencies in npm 3+。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui中包含的对等依赖项gulp-replace @ *不会包含
npm WARN peerDependencies会自动安装以完成peerDependency
npm WARN peer在npm 3+中的依赖关系。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui中包含的对等依赖项gulp-rtlcss @ *不会包含
npm WARN peerDependencies会自动安装更长时间以完成peerDependency
npm WARN peerDependencies in npm 3+。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui包含的对等依赖项gulp-uglify @ *不会包含
npm WARN peerDependencies会自动安装以实现peerDependency
npm WARN peer在npm 3+中的依赖关系。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui中包含的对等依赖项gulp-util @ *不会包含
npm WARN peerDependencies会自动安装以实现peerDependency
npm WARN peerDependencies in npm 3+。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui包含的peer dependency gulp-watch @ *将不会有
npm WARN peerDependencies会被自动安装以完成peerDependency
npm WARN peerDependencies in npm 3+。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui包含的同位体依赖关系map-stream @ *将不会有
npm WARN peerDependencies会自动安装更长时间以完成peerDependency
npm WARN peerDependencies in npm 3+。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui包含的peer-dependency require-dot-file @ *不会包含
npm WARN peerDependencies会自动安装以完成peerDependency
npm WARN peer在npm中的依赖关系3+ 。您的应用程序将需要明确依赖它。
npm WARN peerDependencies从semantic-ui中包含的对等依赖项yamljs @ *不会包含
npm WARN peerDependencies会自动安装以实现peerDependency
npm WARN peer在npm 3+中的依赖关系。您的应用程序将需要明确依赖它。
npm WARN不包括符号链接测试/ withsymlinks / .hidden - > ../shown/.hidden
npm WARN不包含符号链接测试/ withsymlinks / bar.txt - > ../shown/bar.txt
npm WARN不包含符号链接测试/ withsymlinks / .hidden - > ../shown/.hidden
npm WARN不包含符号链接测试/ withsymlinks / bar.txt - > ../shown/bar.txt

取而代之的是:

  npm WARN不包含符号链接测试/ withsymlinks / .hidden  - > ../shown/.hidden 
npm WARN不包含符号链接测试/ withsymlinks / bar.txt - > ../shown/bar.txt
npm WARN不包含符号链接测试/ withsymlinks / .hidden - > ../shown/.hidden
npm WARN不包含符号链接测试/ withsymlinks / bar.txt - > ../shown/bar.txt

这是警告语义UI中的教学视频网站建议。



(我对长文本道歉)



运行后,它不会执行任何操作我按Ctrl-C的过程。运行命令后,我从来没有通过定制面板看到以下链接中的视频:

http://semantic-ui.com/introduction/getting-started.html#using-build-tools



该链接还建议安装npm和节点的其他方法,并且我尝试了其他方法(在每次尝试之前总是彻底清理系统),并且似乎我正确安装了这些方法以及它们的路径在〜/ .bashrc文件中。我应该如何进行? 这个问题的发生是因为 npm将会改变版本3中peer dependencies的运作方式



一个href =https://github.com/Semantic-Org/Semantic-UI/issues/2086 =nofollow>也包含在语义UI问题中,但似乎现在已经解决了。请再试一次,并确保给它足够的时间(长达10-15分钟,但应该少于此时间)。如果您仍然遇到问题,请尝试使用github repo中最新的Semantic UI:

  git clone https:// github。 com / Semantic-Org / Semantic-UI.git 
cd Semantic-UI
npm install

这应该与运行 npm install semantic-ui --save 具有相同的效果,因此只要即可获得交互式安装程序, npm install 完成。


I followed all the instructions posted on the Semantic-UI website in order to install the framework, namely:

  • Install node: I have confirmed it was installed properly by running node -v, to which I get "v0.12.7". Node is installed in /usr/local/include and I have already unpdated the $PATH to reflect the changes.
  • Install gulp: I ran sudo npm install -g gulp to install gulp globally in /usr/local/lib/node_modules (non-sudo command gave me errors and suggested the sudo command)

I cd to my project folder and run "npm install semantic-ui --save", to which I get:

npm WARN peerDependencies The peer dependency better-console@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency del@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency extend@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency gulp@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency gulp-autoprefixer@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency gulp-chmod@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency gulp-clone@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency gulp-concat@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency gulp-concat-css@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency gulp-copy@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency gulp-flatten@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency gulp-header@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency gulp-help@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency gulp-if@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency gulp-less@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency gulp-minify-css@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency gulp-notify@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency gulp-plumber@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency gulp-print@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency gulp-rename@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency gulp-replace@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency gulp-rtlcss@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency gulp-uglify@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency gulp-util@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency gulp-watch@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency map-stream@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency require-dot-file@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency yamljs@* included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN excluding symbolic link tests/withsymlinks/.hidden -> ../shown/.hidden                         
npm WARN excluding symbolic link tests/withsymlinks/bar.txt -> ../shown/bar.txt                         
npm WARN excluding symbolic link tests/withsymlinks/.hidden -> ../shown/.hidden                         
npm WARN excluding symbolic link tests/withsymlinks/bar.txt -> ../shown/bar.txt 

Instead of simply:

npm WARN excluding symbolic link tests/withsymlinks/.hidden -> ../shown/.hidden                         
npm WARN excluding symbolic link tests/withsymlinks/bar.txt -> ../shown/bar.txt                         
npm WARN excluding symbolic link tests/withsymlinks/.hidden -> ../shown/.hidden                         
npm WARN excluding symbolic link tests/withsymlinks/bar.txt -> ../shown/bar.txt

which are the warning that the instructional video in the semantic-ui website suggests.

(I apologize for the long text)

After running it it does not do anything unless I Ctrl-C the process. I never reach the customization panel that the video in the following link gets to after running the command:

http://semantic-ui.com/introduction/getting-started.html#using-build-tools

The link also suggested other methods of installing npm and node and I tried additional ones (always cleaning the system thoroughly before each attempt) and it seems that I install those correctly and with their paths inside the ~/.bashrc file. How shall I proceed?

解决方案

This problem happens because npm will be changing the way peer dependencies work in version 3.

This issue is also covered in Semantic UI issues, but seems to be resolved now. Please try again and make sure you give it enough time (up to 10-15 minutes, though it should take less than that). If you still have problems, try to use the latest Semantic UI from the github repo:

git clone https://github.com/Semantic-Org/Semantic-UI.git
cd Semantic-UI
npm install

This should have the same effect as running npm install semantic-ui --save so you'll get the interactive installer as soon as npm install finishes.

这篇关于“WARN peerdependencies”同时安装Semantic-UI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆