jadjoubran / laravel5-angular-material-starter

Get started with Laravel 5.3 and AngularJS (material)
https://laravel-angular.readme.io/
MIT License
1.66k stars 400 forks source link

error '$auth #448

Closed ghost closed 7 years ago

ghost commented 7 years ago

E:\webdir\project_mrp\angular\run\routes.run.js 2:49 error '$auth' is defined but never used no-unused-vars

â 1 problem (1 error, 0 warnings)

{ [ESLintError: Failed with 1 error] name: 'ESLintError', message: 'Failed with 1 error', showStack: false, showProperties: true, plugin: 'gulp-eslint', __safety: { toString: [Function: bound ] } } [17:57:05] Finished 'eslint' after 843 ms [17:57:05] Starting 'combine'... [17:57:05] Finished 'combine' after 516 ms [17:57:05] Starting 'version'... [17:57:06] Finished 'version' after 552 ms [17:57:06] Starting 'generate-service-worker'... Total precache size is about 325.15 kB for 15 resources. [17:57:06] Finished 'generate-service-worker' after 48 ms [17:57:06] Finished 'all' after 5.51 s [17:57:06] Starting 'default'...

jadjoubran commented 7 years ago

Hi @intrepidtr That's not an issue, only a warning to remove an unused variable I'll get rid of it anyway, thanks!

ghost commented 7 years ago

Thank you for your interest

johndoe2509 commented 7 years ago

@jadjoubran , in my installation , '$auth' seems cannot be injected correctly and 2017-02-12 10 42 57

2017-02-12 10 41 41

do you know why?

jadjoubran commented 7 years ago

Hi @johndoe2509 Can you please check this issue?

fajrinase commented 7 years ago

I have same probleme with@ghost...

What solution? Any idea?

jadjoubran commented 7 years ago

Have you tried the solution posted here?