Home  >  Article  >  Backend Development  >  安装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
WBOYOriginal
2016-07-29 08:56:091298browse

??

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.

Statement:
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]