jordonbaade's avatar

Laravel Mix npm run production on server (Envoyer/Forge)

Anyone know a good way of setting this up? I followed steps from this repo https://github.com/erikgall/envoyer-npm-deployment/issues/3 and adapted it to mix, but I'm currently facing the issue I posted there.

The image there shows my current error, it looks like my change to webpack.config.js is causing this, but before adding that I had 50+ other missing assets. Is there some config option I'm missing to fix this path?

0 likes
2 replies
jekinney's avatar

It's saying it can't find app.less. While I understand reasons why. By why mix your resources on a production server and instead set as production on your master git (or what ever is your main deployment branch).

Unless you need to no reason to on your web server.

Please or to participate in this conversation.