2amigos / yii2-app-template

Yii 2 Basic Application Template with ConfigKit.
https://2amigos.us
Other
54 stars 21 forks source link

Installation Error #1

Closed vvpgrp closed 7 years ago

vvpgrp commented 7 years ago

When I using a command: php composer.phar create-project --prefer-dist --stability=dev sidekit/yii2-app-basic your-site-name OR php composer.phar create-project --prefer-dist --stability=dev sidekit/yii2-app-template your-site-name

I'm getting the error: [InvalidArgumentException] Could not find package sidekit/yii2-app-basic with stability dev. OR [InvalidArgumentException] Could not find package sidekit/yii2-app-template with stability dev.

I've never had that problem before and I've been downloading multiple projects via composer before. What is the problem?

tonydspaniard commented 7 years ago

Not yet on packagist. Give me a few.

tonydspaniard commented 7 years ago

@vvpgrp do you mind trying again? This is the command:

composer create-project --prefer-dist --stability=dev sidekit/yii2-app-template your-project-name

Thanks for your feedback. Let me know if you find anymore issues.

resurtm commented 7 years ago

Works now:

resurtm@resurtm-desktop:~/dev$ composer create-project --prefer-dist --stability=dev sidekit/yii2-app-template sidekit-yii2-app-template
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
Installing sidekit/yii2-app-template (dev-master 15eadf57f4e878e3b7c6b0f07a3575f05f4274fa)
  - Installing sidekit/yii2-app-template (dev-master master)
    Downloading: 100%         

Created project in sidekit-yii2-app-template
> php -r "file_exists('.env') || copy('.env.example', '.env');"
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing yiisoft/yii2-composer (2.0.5)               
    Loading from cache

...

  - Installing phpmd/phpmd (2.5.0)
    Loading from cache

facebook/webdriver suggests installing phpdocumentor/phpdocumentor (2.*)
symfony/event-dispatcher suggests installing symfony/http-kernel ()
sebastian/global-state suggests installing ext-uopz (*)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
codeception/base suggests installing flow/jsonpath (For using JSONPath in REST module)
codeception/base suggests installing phpseclib/phpseclib (for SFTP option in FTP Module)
codeception/base suggests installing league/factory-muffin (For DataFactory module)
codeception/base suggests installing league/factory-muffin-faker (For Faker support in DataFactory module)
codeception/base suggests installing symfony/phpunit-bridge (For phpunit-bridge support)
symfony/dependency-injection suggests installing symfony/expression-language (For using expressions in service container configuration)
symfony/dependency-injection suggests installing symfony/proxy-manager-bridge (Generate service proxies to lazy load them)
Writing lock file
Generating autoload files
> yii\composer\Installer::postCreateProject
chmod('runtime', 0777)...done.
chmod('public/assets', 0777)...done.
chmod('yii', 0755)...done.
> php yii post-install/generate-cookie-validation
resurtm@resurtm-desktop:~/dev$