Postingan lainnya
Error Could not find package laravel/laravel with version ^9.0
Saya ingin membuat proyek baru dengan laravel. Saya menulis perintah seperti ini
composer create-project laravel/laravel:^9.0 example-app
Namun, saya mendapat pesan seperti ini
Could not find package laravel/laravel with version ^9.0
Saya telah mencoba dengan kode
composer create-project laravel/laravel example-app
Tapi saya mendapat pesan error seperti ini
Could not find package laravel/laravel with stability stable
Mohon bantuannya. Makasiii
1 Jawaban:
<div>coba seperti ini:</div><pre>composer create-project laravel/laravel="9.0.*" ProjectName</pre><div><br>di aku jadi<br><figure data-trix-attachment="{"contentType":"image/png","filename":"gambar.png","filesize":34558,"height":216,"url":"https://i.ibb.co/tYVcKMX/gambar.png","width":644}" data-trix-content-type="image/png" data-trix-attributes="{"presentation":"gallery"}" class="attachment attachment--preview attachment--png"><img src="https://i.ibb.co/tYVcKMX/gambar.png" width="644" height="216"><figcaption class="attachment__caption"><span class="attachment__name">gambar.png</span></figcaption></figure></div>
Tanggapan
Masih belum bisa. Pesan errornya ini Could not find package laravel/laravel with version 9.0.*
tambahin --prefer-dist di akhir
composer create-project laravel/laravel="9.0.*" e-office --prefer-dist
kaya gitu kah? masi sama aja, belum bisa
composer create-project --prefer-dist laravel/laravel laravel_9 "9.0.*"
belum bisa juga kak