scotch-io / scotch-box

Scotch Box is a preconfigured Vagrant Box with a full array of LAMP Stack features to get you up and running with Vagrant in no time.
http://box.scotch.io
2.7k stars 548 forks source link

Laravel mix not working by default #413

Open sinandomeng opened 4 years ago

sinandomeng commented 4 years ago

Expected Behavior

Compile the assets base on webpack.mix.js setting

Actual Behavior

Error: sh: 1: cross-env: Permission denied on laravel mix

Steps to Reproduce the Problem

  1. Install latest version of laravel using composer under dir /var/www/public
  2. Update npm version using nvm to latest stable
  3. Install laravel mix 4.0.7
  4. Run npm run watch

Specifications

Resource

sinandomeng commented 4 years ago

Do not forget to install all of dependencies of the app using composer and node. Run composer install and npm install