RobertBoes / sidecar-inertia-vite

A Sidecar function to run Inertia server-side rendering with Vite on Lambda.
MIT License
17 stars 7 forks source link

Cannot install on Laravel 9 #1

Closed heychazza closed 1 year ago

heychazza commented 1 year ago

Hey pal,

A huge thank you for making this package seeing as Sidecar Inertia still hasn't been merged to support Vite.

Upon installing I get the following:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires robertboes/sidecar-inertia-vite ^0.1.0@alpha -> satisfiable by robertboes/sidecar-inertia-vite[v0.1.0-alpha].
    - robertboes/sidecar-inertia-vite v0.1.0-alpha requires illuminate/support ^9.43 -> found illuminate/support[v9.43.0, 9.x-dev] but these were not loaded, likely because it conflicts with another require.

You can also try re-running composer require with an explicit version constraint, e.g. "composer require robertboes/sidecar-inertia-vite:*" to figure out if any version is installable, or "composer require robertboes/sidecar-inertia-vite:^2.1" if you know which you need.
heychazza commented 1 year ago

Ah updating Laravel solved it, nice

RobertBoes commented 1 year ago

Yeah sorry, I do need to do some cleanups, I just initialized the package with all latest versions so it has ^9.43 as a requirement. Will update that to ^9 soon-ish 👍

heychazza commented 1 year ago

I thought let's try a simple Laravel upgrade, and it solved it.

Thanks for the reply though @RobertBoes, and again appreciate that you've made this package.

Will share it around as I know others wanting this too