During build npm run prod mix.version() get 500 in last 40-60sec
My task is to build the front in production.
But, if I use versions, through the helper function mix (), during the build, for the last 40-60 seconds of the build, it knocks out 500 with the inscription: Unable to locate Mix file.
How can I update the front with the version so as not to kill the project for 1 minute?
What I think is adding the version manually via the config. But I don't like this solution, you still need to use mix.version ()
@apokall This is a very lame guess not even based totally on your question but just based on issues I've run into building in prod... are you running composer install and npm ci before running the build command?
composer install --no-interaction --prefer-dist --optimize-autoloader
npm ci
npm run prod