Zemke / starter-laravel-angular

Laravel and AngularJS Starter Application Boilerplate featuring Laravel 5.3 and AngularJS 1.5.8
https://starter-laravel-angular.herokuapp.com
Other
369 stars 119 forks source link

Something wrong with Elixir #27

Closed husnulhamidiah closed 8 years ago

husnulhamidiah commented 8 years ago

I try perfectly and exactly as you write but I got an issue like this..

file_get_contents(C:\xampp\htdocs\lvmaster\public/build/rev-manifest.json): failed to open stream: No such file or directory

Can you give me a shot to solve this?

appkr commented 8 years ago

Not tested thought, try this:

.version([
      'public/build/css/all.css',
      'public/build/js/all.js'
    ]);
//.copy(...)
//.copy(...);
husnulhamidiah commented 8 years ago

Yeah it solved the error shown when I run gulp command. But the main problem still there. rev-manifest.json not found.

Zemke commented 8 years ago

I've come across rev-manifest.json not found a couple of times myself. Running composer install --prefer-dist has always fixed this for me.

husnulhamidiah commented 8 years ago

I've tried clean install and use composer install --prefer-dist but still rev-manifest.json not generated.. Any idea?

Zemke commented 8 years ago

Consider this issue comment. https://github.com/Zemke/starter-laravel-angular/issues/23#issuecomment-125245170

shiruken1 commented 8 years ago

Ditto. Solved my issue by reinstalling npm, then installing gulp globally, running npm install laravel-elixir on the app folder, then modifying gulpfile.js as mentioned above, then finally running gulp.

Out of curiosity why not commit that change to the gulpfile, since it seems to be an issue?