I was using putty previously so I had no problem but now I decided to use buddy for this command : “npm run production”
I tried to use Atomic deployment for this but I had some weird issues with the results. My mix-manifest.json it had no concordance to my compiled results (css,js, whatever).
So I decided to try SSH command. had no troubles to connect via SSH but when its time to trigger the command i just read:
Quite different as when I do via putty.
@ production /var/www/vhosts/domain/folder_subdomain/
> cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
Copying resources/assets/images to /var/www/vhosts/domain/folder_subdomain
And finally I get my compiled results…
What could be the problem?
When fail on purpose I get errors in buddy.