首页  >  文章  >  后端开发  >  安装Yii碰到“the file or directory to be published does not exist bower/jquery/dist”

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

WBOY
WBOY原创
2016-07-29 08:56:091435浏览

??

安装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教程有兴趣的朋友有所帮助。

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn