当前位置:Gxlcms > PHP教程 > 安装Yii碰到“thefileordirectorytobepublisheddoesnotexistbower/jquery/dist”

安装Yii碰到“thefileordirectorytobepublisheddoesnotexistbower/jquery/dist”

时间:2021-07-01 10:21:17 帮助过:14人阅读

??

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

人气教程排行