You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running a Mac OSX Yosemite with Virtual Box, Vagrant version 1.8.1
I followed instructions on the readme.MD file and got the following error when I ran /var/www/bootstrap-advanced.sh (sorry for size but I wanted to be detailed):
Running composer as root/super user is highly discouraged as packages, plugins and scripts cannot always be trusted
Installing yiisoft/yii2-app-advanced (dev-master a34ba1e1bced7acd4edd7cc20eb9dab0aa725c4e)
Created project in /var/www/yii2app.dev
Loading composer repositories with package information
Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.
Reloading web server config apache2 [ OK ] PHP Warning: require(/var/www/yii2app.dev/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/yii2app.dev/yii on line 14 PHP Fatal error: require(): Failed opening required '/var/www/yii2app.dev/vendor/autoload.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/yii2app.dev/yii on line 14
All Done!
Now add the ip/domain to your hosts file if you didn't already. A little help:
echo '33.33.33.34 yii2app.dev www.yii2app.dev admin.yii2app.dev' | sudo tee -a /etc/hosts
I am running a Mac OSX Yosemite with Virtual Box, Vagrant version 1.8.1
I followed instructions on the readme.MD file and got the following error when I ran
/var/www/bootstrap-advanced.sh
(sorry for size but I wanted to be detailed):Running composer as root/super user is highly discouraged as packages, plugins and scripts cannot always be trusted
Installing yiisoft/yii2-app-advanced (dev-master a34ba1e1bced7acd4edd7cc20eb9dab0aa725c4e)
Downloading: 100%
Created project in /var/www/yii2app.dev
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- yiisoft/yii2 2.0.x-dev requires bower-asset/jquery.inputmask ~3.2.2 -> no matching package found.
- yiisoft/yii2 dev-master requires bower-asset/jquery.inputmask ~3.2.2 -> no matching package found.
- yiisoft/yii2 2.0.8 requires bower-asset/jquery 2.2.@stable | 2.1.@stable | 1.11.@stable -> no matching package found.
- yiisoft/yii2 2.0.7 requires bower-asset/jquery 2.2.@stable | 2.1.@stable | 1.11.@stable -> no matching package found.
- yiisoft/yii2 2.0.6 requires bower-asset/jquery 2.1.@stable | 1.11.@stable -> no matching package found.
- Installation request for yiisoft/yii2 >=2.0.6 -> satisfiable by yiisoft/yii2[2.0.6, 2.0.7, 2.0.8, dev-master, 2.0.x-dev].
Potential causes:
see https://getcomposer.org/doc/04-schema.md#minimum-stability for more details.
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
Yii Application Initialization Tool v1.0
Start initialization ...
generate backend/config/main-local.php
generate backend/config/params-local.php
generate backend/web/index-test.php
generate backend/web/index.php
generate common/config/main-local.php
generate common/config/params-local.php
generate console/config/main-local.php
generate console/config/params-local.php
generate frontend/config/main-local.php
generate frontend/config/params-local.php
generate frontend/web/index-test.php
generate frontend/web/index.php
generate tests/codeception/config/config-local.php
generate yii
generate cookie validation key in backend/config/main-local.php
generate cookie validation key in frontend/config/main-local.php
chmod 0777 backend/runtime
chmod 0777 backend/web/assets
chmod 0777 frontend/runtime
chmod 0777 frontend/web/assets
chmod 0755 yii
chmod 0755 tests/codeception/bin/yii
... initialization completed.
ERROR: Site yii2app.dev does not exist!
PHP Warning: require(/var/www/yii2app.dev/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/yii2app.dev/yii on line 14
PHP Fatal error: require(): Failed opening required '/var/www/yii2app.dev/vendor/autoload.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/yii2app.dev/yii on line 14
All Done!
Now add the ip/domain to your hosts file if you didn't already. A little help:
echo '33.33.33.34 yii2app.dev www.yii2app.dev admin.yii2app.dev' | sudo tee -a /etc/hosts
Access your new sites http://yii2app.dev http://admin.yii2app.dev
Rock'n roll
The text was updated successfully, but these errors were encountered: