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

installation error. #23

Closed tapas4you closed 8 years ago

tapas4you commented 9 years ago

Hi, when i am going to install your application it gives error: file_get_contents(E:\wamp\www\starter-laravel-angular\public/build/rev-manifest.json): failed to open stream: No such file or directory (View: E:\wamp\www\starter-laravel-angular\resources\views\layout.blade.php)

node is installed npm is installed but gulp is not found. please guide me to make it. Thanks

Zemke commented 9 years ago

If Gulp is not found, then I guess you haven't got it installed (globally). To install Gulp globally execute npm install -g gulp. Then try again.

file_get_contents(E:\wamp\www\starter-laravel-angular\public/build/rev-manifest.json): failed to open stream: No such file or directory (View: E:\wamp\www\starter-laravel-angular\resources\views\layout.blade.php) is an error that occurs when composer install --prefer-dist wasn't run.

If problems persist, just comment here again, I'm glad to help.

PaoloNardini commented 8 years ago

Hello! I made a fresh install and got the same error:

file_get_contents(C:\xampp\htdocs\starter-laravel-angular\public/build/rev-manifest.json): failed to open stream: No such file or directory (View: C:\xampp\htdocs\starter-laravel-angular\resources\views\layout.blade.php)

gulp installed and run succesfully composer install --prefer-dist run more than once without errors

What else?

PaoloNardini commented 8 years ago

I found the solution myself:

In gulpfile.js I added public/ path to files listed in version, resulting in:

... .version([ 'public/css/all.css', 'public/js/all.js' ]) ...

running gulp again it generate rev-manifest.json properly.