Skip to main content

Yii2 Reference : php.exe win32 invalid application error while installing composer

php.exe win32 invalid application error while installing composer

solution
=========
composer create-project --stability=dev --prefer-dist yiisoft/yii2-app-basic C:\xampp\htdocs\splp



-------------------
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\cda>cd C:\xampp\php

C:\xampp\php>composer create-project --stability=dev --prefer-dist yiisoft/yii2-
app-basic C:\xampp\htdocs\splp
Installing yiisoft/yii2-app-basic (dev-master ebfe2aec0ca05aa3e27c85c10f6bb6e7f8
c83253)


  [InvalidArgumentException]
  Project directory C:/xampp/htdocs/splp/ is not empty.


create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--r
epository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no
-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vc
s] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<vers
ion>]


C:\xampp\php>composer create-project --stability=dev --prefer-dist yiisoft/yii2-
app-basic C:\xampp\htdocs\splp
Installing yiisoft/yii2-app-basic (dev-master ebfe2aec0ca05aa3e27c85c10f6bb6e7f8
c83253)
  - Installing yiisoft/yii2-app-basic (dev-master master)
    Downloading: 100%

Created project in C:\xampp\htdocs\splp
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing yiisoft/yii2-composer (dev-master e882cc3)
    Downloading: 100%

  - Installing codeception/verify (0.3.1)
    Downloading: 100%

  - Installing myclabs/deep-copy (1.5.1)
    Downloading: 100%

  - Installing codeception/specify (0.4.3)
    Downloading: 100%

  - Installing bower-asset/jquery (2.2.4)
    Downloading: 100%

  - Installing ezyang/htmlpurifier (v4.8.0)
    Downloading: 100%

  - Installing bower-asset/yii2-pjax (v2.0.6)
    Downloading: 100%

  - Installing bower-asset/punycode (v1.3.2)
    Downloading: 100%

  - Installing bower-asset/jquery.inputmask (3.2.7)
    Downloading: 100%

  - Installing cebe/markdown (dev-master 04bfcaa)
    Downloading: 100%

  - Installing yiisoft/yii2 (dev-master 7c2fc41)
    Downloading: 100%

  - Installing swiftmailer/swiftmailer (5.x-dev 0b3e604)
    Downloading: 100%

  - Installing yiisoft/yii2-swiftmailer (dev-master b0f7f9f)
    Downloading: 100%

  - Installing sebastian/diff (dev-master 13edfd8)
    Downloading: 100%

  - Installing sebastian/recursion-context (dev-master 7ff5b1b)
    Downloading: 100%

  - Installing sebastian/exporter (dev-master 42c4c2e)
    Downloading: 100%

  - Installing sebastian/comparator (dev-master 937efb2)
    Downloading: 100%

  - Installing behat/gherkin (dev-master faf6316)
    Downloading: 100%

  - Installing symfony/polyfill-mbstring (dev-master 988cbed)
    Downloading: 100%

  - Installing symfony/dom-crawler (dev-master cec494c)
    Downloading: 100%

  - Installing symfony/css-selector (dev-master 7a3ee9a)
    Downloading: 100%

  - Installing symfony/browser-kit (dev-master 014c0d1)
    Downloading: 100%

  - Installing symfony/yaml (dev-master 6e73e8c)
    Downloading: 100%

  - Installing symfony/event-dispatcher (dev-master 5382f4c)
    Downloading: 100%

  - Installing symfony/console (dev-master 43c5f01)
    Downloading: 100%

  - Installing symfony/finder (dev-master ad1b54e)
    Downloading: 100%

  - Installing psr/http-message (dev-master f6561bf)
    Downloading: 100%

  - Installing guzzlehttp/psr7 (dev-master 64862e8)
    Downloading: 100%

  - Installing sebastian/version (1.0.6)
    Downloading: 100%

  - Installing sebastian/environment (1.3.x-dev be2c607)
    Downloading: 100%

  - Installing phpunit/php-token-stream (dev-master cab6c6f)
    Downloading: 100%

  - Installing phpunit/php-text-template (1.2.1)
    Downloading: 100%

  - Installing phpunit/php-file-iterator (dev-master 6150bf2)
    Downloading: 100%

  - Installing phpunit/php-code-coverage (2.2.x-dev eabf68b)
    Downloading: 100%

  - Installing sebastian/global-state (1.1.1)
    Downloading: 100%

  - Installing doctrine/instantiator (dev-master 416fb8a)
    Downloading: 100%

  - Installing phpunit/php-timer (1.0.8)
    Downloading: 100%

  - Installing webmozart/assert (dev-master 8444f2a)
    Downloading: 100%

  - Installing phpdocumentor/reflection-common (dev-master 144c307)
    Downloading: 100%

  - Installing phpdocumentor/type-resolver (0.2)
    Downloading: 100%

  - Installing phpdocumentor/reflection-docblock (3.1.0)
    Downloading: 100%

  - Installing phpspec/prophecy (dev-master d883566)
    Downloading: 100%

  - Installing phpunit/phpunit-mock-objects (2.3.x-dev ac8e7a3)
    Downloading: 100%

  - Installing phpunit/phpunit (4.8.x-dev 41433b0)
    Downloading: 100%

  - Installing codeception/base (2.2.x-dev e1976ee)
    Downloading: 100%

  - Installing bower-asset/bootstrap (v3.3.7)
    Downloading: 100%

  - Installing yiisoft/yii2-bootstrap (dev-master f41768b)
    Downloading: 100%

  - Installing yiisoft/yii2-debug (dev-master 721045a)
    Downloading: 100%

  - Installing bower-asset/typeahead.js (v0.11.1)
    Downloading: 100%

  - Installing phpspec/php-diff (dev-master 0464787)
    Downloading: 100%

  - Installing yiisoft/yii2-gii (dev-master fb52694)
    Downloading: 100%

  - Installing fzaninotto/faker (dev-master 7ead3ef)
    Downloading: 100%

  - Installing yiisoft/yii2-faker (dev-master 6e6eb43)
    Downloading: 100%

symfony/browser-kit suggests installing symfony/process ()
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/event-dispatcher suggests installing symfony/http-kernel ()
symfony/console suggests installing psr/log (For using the console logger)
symfony/console suggests installing symfony/process ()
symfony/console suggests installing symfony/filesystem ()
phpunit/php-code-coverage suggests installing ext-xdebug (>=2.2.1)
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 m
odule)
codeception/base suggests installing phpseclib/phpseclib (for SFTP option in FTP
 Module)
codeception/base suggests installing league/factory-muffin (For DataFactory modu
le)
codeception/base suggests installing league/factory-muffin-faker (For Faker supp
ort in DataFactory module)
codeception/base suggests installing symfony/phpunit-bridge (For phpunit-bridge
support)
Writing lock file
Generating autoload files
> yii\composer\Installer::postCreateProject
chmod('runtime', 0777)...done.
chmod('web/assets', 0777)...done.
chmod('yii', 0755)...done.

C:\xampp\php>cd c:/xampp/htdocs/splp

c:\xampp\htdocs\splp>composer require "dektrium/yii2-user:0.9.*@dev"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)

Comments

Popular posts from this blog

Temuduga Pegawai Teknologi Maklumat F41

Assalammualaikum and salam sejahtera uols.. Haish... lama benauu la tak update kan.. Bz..bz dengan kerja hakiki...bisnes part-time ni plak sejak pindah Kedah akak tak fokus sangat.. Dulu masa pjj ngan hubby and baru anak sorg ada la jugak masa nak berbisnes bagai.. Sekarang ni memang tak berapa nak pulun pasai bila balik rumah je sibuk nak uruskan rumahtangga and bebudak dua org tu.. Hokeh,,takmau cakap banyak cuma akak nak habaq kalo bebudak iT yang dah lama grad especially tahun 2010,2011 and so on  mesti tertunggu2 panggilan temuduga F41 khen khen khen.. Yelah mcm akak ni grad tahun 2011, interview F41 yang pertama kalinya dipanggil 2 tahun selepas itu iaitu 2013!..Lama giler nak tunggu sesuatu panggilan interview sekarang ni jika nak dibandingkan masa akak lepas sijil & diploma (tahun 2006-2009) bertalu2 surat panggilan interview sampai ke peti surat rumah.. Jadi sesiapa yang sekarang ni berjaya dipanggil temuduga as Pegawai Teknologi Maklumat (F41) sepatutnya kita semua b

Sharing is Caring || Breast Pump Review - Autumnz Marvel Single Electric Breast Pump

Salam.. selamat pagi.......... Hari ni I nak share something dgn pelanggan2 Blossom Lisha Shop mahupun yang bukan pelanggan.. yang search2 Google lalu terjumpa blog ni..ahaks.. Actually, I dah beli lama dah..kalo tak silap Ogos 2012.. Start pakai pam ni  lepas bersalin baby bulan Oktober 2012.. kiranya dah hampir 11 bulan la guna pam ni. So, I nak share experience I dengan sayang2 semua.. Masa nak beli pam, I try nak cari yang ringan, mudah nak handle, takmau bunyi kuat2, within budget dan yg tak bergantung electric supply all the time.. So, pada masa I tengah mencari2 tu, kalo bleh I nak Medela Swing..heeee... Kebetulan, Autumz baru je keluarkan produk baru beliau iaitu Autumnz Marvel Single Electric Breast Pump. Autumz pun keluarkan untuk double pump jugak iaitu Ultimate Convertible Double Electric/Manual Breast Pump. Masa beli tu I tak terpikir nak cari yang double pump coz I nak yang ringan and comel2 je. So bila hubby I tengok yang  Autumnz Marvel Single Electric Breast Pump pun

Sharing is Caring || Breast Pump Review - Medela Freestyle

Assalammualaikum gaisss!!!!! Lamanya akak tak sharing2 cerita kat sini.. Yelah sejak ber'anak' dua ni segala jenis objek aktiviti terbatas sangat2..Sapa-sapa yang pernah baca entry kat bawah ni mesti ingat akak pernah 'berhutang' (19 Mei 2014) nak review or story mory pasai double breast pump kan..hewhewhew.. ---> dah lebih setahun baru nak cerita, basi dah la dollllll heheh.. tp takpa akak nak ceritaaaaa jugakkkk~~ http://blossomlishashop.blogspot.my/2013/09/sharing-is-caring-breast-pump-review.html akak mintak maaf sangat2 la pasai takdan nak taip cerita bagai naa pasai dalam dok kalut dengan kerja, berjauhan dengan sang suami, bisnes kecik2 ni and struggle pam susu utk anak yg sulung tu tetiba dalam tak sedar 'termengandung' pulakkk =p... Lepaih dah termengandung tu...(anak sulung masa tu 1 tahun 6 bulan),  rezeki yang akak dok tunggu2 selama 3 tahun iaitu nak pindah dari Putrajaya ke Sungai Petani Kedah termakbul.. Alhamdulillah rezeki anak org kata