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

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

??

When installing Yii, I encountered "the file or directory to be published does not exist bower/jquery/dist"

Referencehttp://www.yiichina.com/doc/guide/2.0/start- installation After installing Yii, when opening the web page, I encountered the error "the file or directory to be published does not exist bower/jquery/dist"

Please refer to the official documentation:https://github.com/ yiisoft/yii2/blob/master/docs/guide-zh-CN/start-installation.md Found a problem in the installed plug-in which has a bug and needs to be updated to the latest version

Yiichina gave us composerglobal require"fxp/composer-asset-plugin:~1.0.0"

The official website provides composer global require "fxp/composer-asset-plugin:~1.1.1"

Change it to the official website and then regenerate it into a basic website and you can access it normally

The above introduces the installation of Yii and encounters "the file or directory to be published does not exist bower/jquery/dist", including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

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 admin@php.cn
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!