https://twill.io logo
Join Discord
Powered by
# ❓questions
  • j

    JeremyStewart

    09/05/2022, 9:14 AM
    hmmm. Composer on the other hand is hard to tell! I am getting heaps of this tstyle error
  • j

    JeremyStewart

    09/05/2022, 9:15 AM
    maybe it's working?
  • i

    ifox

    09/05/2022, 9:15 AM
    at the top of that error you should see the version. Looks like you may be running composer 1 instead of composer 2
  • i

    ifox

    09/05/2022, 9:16 AM
    oh, ok, you're running 2 then, but these errors are not normal
  • j

    JeremyStewart

    09/05/2022, 9:17 AM
    the last screen shot is the first thing that comes up after composer -v
  • i

    ifox

    09/05/2022, 9:20 AM
    try
    composer self-update
    , as it seems like you're running a version that isn't fully PHP 8.1 compatible
  • j

    JeremyStewart

    09/05/2022, 9:22 AM
    it worked! seems to have fixed all the issue
  • i

    ifox

    09/05/2022, 9:24 AM
    nice. Now, what does
    which valet
    output?
  • j

    JeremyStewart

    09/05/2022, 9:24 AM
    which valet /usr/local/bin/valet
  • i

    ifox

    09/05/2022, 9:25 AM
    To confirm it's installed correctly, run
    valet install
  • j

    JeremyStewart

    09/05/2022, 9:27 AM
    running it now
  • j

    JeremyStewart

    09/05/2022, 9:28 AM
    I got a lot of deprecated messages but it does say valet installed successfully
  • i

    ifox

    09/05/2022, 9:29 AM
    ok, that means you should probably update it now that your composer is up to date. Try
    composer --global update
    then run
    valet install
    again
  • i

    ifox

    09/05/2022, 9:32 AM
    my bad,
    composer global update
  • i

    ifox

    09/05/2022, 9:32 AM
    no dashes
  • i

    ifox

    09/05/2022, 9:33 AM
    hmm, how did you install valet the first time then
  • i

    ifox

    09/05/2022, 9:33 AM
    not with composer global require... ?
  • i

    ifox

    09/05/2022, 9:34 AM
    I mean how did you get the valet binary
  • i

    ifox

    09/05/2022, 9:35 AM
    you're running an old version of it, and it seems like you didnt get it through composer
  • j

    JeremyStewart

    09/05/2022, 9:36 AM
    just sent you a DM 🙂
  • j

    JeremyStewart

    09/05/2022, 10:12 AM
    I got Laravel running and after php artisan serve I got the laravel placeholder site at http://127.0.0.1:8000
  • i

    ifox

    09/05/2022, 10:13 AM
    so, php artisan serve is not using valet and so not nginx, it's a simple internal PHP server that can work for development but isn't at parity with production deployments. Totally fine to experiment with though.
  • i

    ifox

    09/05/2022, 10:14 AM
    you should be able to follow twill docs to install from there
  • j

    JeremyStewart

    09/05/2022, 10:22 AM
    yep, I've got twill installed now just stuck setting up and connecting to the DB - normally mamp and phpmyadmin was easy for this
  • k

    kalle

    09/05/2022, 11:29 AM
    Still nothing wrong with this approach. You can start local DB server and create database with phpmyadmin. After that in project .env just put address as localhost or 127.0.0.1 with other access related data and that should all work.
  • j

    JeremyStewart

    09/05/2022, 12:20 PM
    I managed to get the local DB connected and updated in the env. I'm pretty sure I now have everything installed correctly still getting the and used valet link to get the local domain working. But still just running into this issue " Warning: opendir(/Users/jeremystewart/code): Failed to open directory: No such file or directory in /Users/jeremystewart/.composer/vendor/laravel/valet/server.php on line 132 404 - Not Found"
  • j

    JeremyStewart

    09/05/2022, 12:26 PM
    I can see what the issue is. There must have been an existing Valet install to an old working folder /code that does not existing anymore
  • y

    Young_Koekwaus

    09/05/2022, 7:08 PM
    please help me im getting this error, after i login the cms
  • y

    Young_Koekwaus

    09/05/2022, 7:09 PM
    its pissing me off cant get it right after hours
  • y

    Young_Koekwaus

    09/05/2022, 7:09 PM
    no clue what to do with it
1...384385386...484Latest