Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

faxunil's avatar

> mix --production does nothing

Hi! I want to deploy my project to a hosted server.

npm install ran OK.

after npm run prod command npm run production

production mix --production

the terminal is not showing any activity for a long-long time and laravel mix is not compiled.

After googling some help: node node_modules/laravel-mix/bin/cli.js

command works spearatelly bit only the DEV

How could I get working the npm run prod command? Thanks Gergely

0 likes
0 replies

Please or to participate in this conversation.