Minishift - How to compile assets using Laravel mix

时间:2017-08-05 11:49:19

标签: php laravel openshift openshift-origin minishift

I have a minishift instance running on my laptop. I am running a Laravel app on it and it's configured to use a private git repository (a copy of repo is present on my laptop from where I push the changes to the git repository). Now my question is

How do I compile assets on it using laravel mix after I make CSS changes on my local repository and push them to the git repo?

Till now I have tried to:

Run npm dev by logging in to minishift using SSH. But it gives the error npm not installed.

1 个答案:

答案 0 :(得分:1)

The npm package was added to the S2I base image only recently, it may not have got through to official images yet if using the Minishift from the CDK. It should have got through to CentOS based builder images that would be used by Origin based Minishift.

Where did you get Minishift from and what version?