PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Solved

Redis not found when running composer install

Solved
kaprinkey1

Mar 26th, 2023 06:45 AM

Redis not found

I need help with my php and redis installation. For some reason it keeps telling Redis can't be found when running composer install

It tells me the extension cannot be found.

Any suggestions? I am running the latest version of php with non thread safe. I believe redis is NTS as well. I need to check actually now that I think about it. That could be the issue.

Composer

When I run the composer install (with --ignore-redis-ext), it works and it installs what it needs to for laravel wave.


Screenshot (149).png

As you can see I am now getting another error after having added the required files to the php /ext folder

bobbyiliev

Mar 26th, 2023 06:48 AM

Best Answer

Hi there!

As discussed on our Discord server, what you can do is to just remove the Redis definition here:

https://github.com/thedevdojo/wave/blob/main/composer.json#L14

Then run composer update and composer install and you will not get the Redis error any more.

Redis is mainly needed when deploying to the DigitalOcean App Platform where you might have multiple container instances of Wave running simultaneously so you need a way to share your sessions.

If you don't need Redis, you can just remove the line from the composer.json file.

Let me know how it goes!

kaprinkey1

Mar 26th, 2023 09:48 AM

I thought redis was necessary or I would have removed it.

Thank you so much Bobby. I have a quick question though. There was just a button that said 'AI ANSWER' or something like that but when I clicked it, it said I couldn't take that action and disappeared?

bobbyiliev

Mar 27th, 2023 02:01 AM

Hey there!

Ah yes, the AI answer is a new beta feature that we are working on! Still not completely available yet.