Composer install fails because of required Vite files

GitHub
Composer install fails because of Vite · filamentphp filament · Dis...
Composer install fails, I do not know why a Vite file is required to discover packages. composer install composer.json { "name": "proculair/redacted", "type": "pr...
Solution:
GitHub
Composer install fails because of required Vite files · filamentphp...
Composer install fails, I do not know why a Vite file is required to discover packages. composer install composer.json { "name": "proculair/redacted", "type": "pr...
Jump to solution
7 Replies
toeknee
toeknee2y ago
Close that please you haven't setup Vite within your project, you need a vite manifest file to build
toeknee
toeknee2y ago
Laravel - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
Proculair B.V.
Proculair B.V.OP2y ago
I do not think I understand. I have added the vite config I'm using in the github discussion
toeknee
toeknee2y ago
Ahh sorry, run: npm run build after setting up vite This will compile the assets then the files can find them, as autoloader is not finding them composer cannot run.
Proculair B.V.
Proculair B.V.OP2y ago
So what is the correct command order This order does not work because the first command fails 1. composer install 2. npm install 3. npm run build And the order 1. npm install 2. npm run build 3. composer install Does not work because vite requries composer files
Proculair B.V.
Proculair B.V.OP2y ago
No description
Solution
Proculair B.V.
GitHub
Composer install fails because of required Vite files · filamentphp...
Composer install fails, I do not know why a Vite file is required to discover packages. composer install composer.json { "name": "proculair/redacted", "type": "pr...

Did you find this page helpful?