安装Yii碰到“the file or directory to be published does not exist bower/jquery/dist”

WBOY
Release: 2016-07-29 08:56:09
Original
1295 people have browsed it

??

安装Yii碰到“the file or directory to be published does not exist bower/jquery/dist”

参考http://www.yiichina.com/doc/guide/2.0/start-installation 安装Yii,当打开网页时,遇到“the file or directory to be published does not exist bower/jquery/dist”错误

去参考官方文档:https://github.com/yiisoft/yii2/blob/master/docs/guide-zh-CN/start-installation.md 发现问题在安装的插件有bug需要更新到最新版

Yiichina给的是composerglobalrequire"fxp/composer-asset-plugin:~1.0.0"

官网给的是composer global require "fxp/composer-asset-plugin:~1.1.1"

改成官网的再生成basic网站就可以正常访问了

以上就介绍了安装Yii碰到“the file or directory to be published does not exist bower/jquery/dist”,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact [email protected]
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!