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
toeknee16mo ago
Close that please you haven't setup Vite within your project, you need a vite manifest file to build
toeknee
toeknee16mo 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.OP16mo ago
I do not think I understand. I have added the vite config I'm using in the github discussion
toeknee
toeknee16mo 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.OP16mo 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.OP16mo ago
No description
Solution
Proculair B.V.
Proculair B.V.16mo ago
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?