作者:钢铁年代2502883227 | 来源:互联网 | 2023-09-13 19:00
解决办法1在命令行下输入下面的命令:sudo find . -type d -exec chmod 770 {} + && sudo find . -type f -exec chmod 660 {
解决办法1
在命令行下输入下面的命令:
sudo find . -type d -exec chmod 770 {} + && sudo find . -type f -exec chmod 660 {} + && sudo chmod u+x bin/magento
有时候需要去掉 sudo.
解决办法2
先删除下面路径的文件
/vendor/autoloader.php
然后出现下面界面
执行 下面命令:
composer install
下面是操作流程
lollicup@DESKTOP-4M99Q31 MINGW64 /d/www/20191018store2magento2/magento2Store2 (storex)
$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 1 install, 0 updates, 0 removals
- Installing g1a/composer-test-scenarios (2.2.0): Loading from cache
Generating autoload files