Closed fajrinase closed 6 years ago
Hi @fajrinase
I think the problem is that when you ran bower install
you did not choose a resolution for angular
Try running bower install
again and checkout this related issue here
I have run bower install and i get error :
$ bower install
bower angular-material#~1.0.8 cached https://github.com/angular/bower-material .git#1.0.9
bower angular-material#~1.0.8 validate 1.0.9 against https://github.com/angular/ bower-material.git#~1.0.8
bower angular#~1.5 cached https://github.com/angular/bower-angular. git#1.5.11
bower angular#~1.5 validate 1.5.11 against https://github.com/angular /bower-angular.git#~1.5
bower angular-ui-router#~1.0.0-alpha.3 cached https://github.com/angul ar-ui/angular-ui-router-bower.git#1.0.10
bower angular-ui-router#~1.0.0-alpha.3 validate 1.0.10 against https://g ithub.com/angular-ui/angular-ui-router-bower.git#~1.0.0-alpha.3
bower angular-loading-bar#~0.9.0 cached https://github.com/chief fancypants/angular-loading-bar.git#0.9.0
bower angular-loading-bar#~0.9.0 validate 0.9.0 against https://gi thub.com/chieffancypants/angular-loading-bar.git#~0.9.0
bower satellizer#^0.14.0 cached https://github.com/sahat /satellizer.git#0.14.1
bower satellizer#^0.14.0 validate 0.14.1 against https://g ithub.com/sahat/satellizer.git#^0.14.0
bower restangular#~1.5.2 cached https://github.com/mgont o/restangular.git#1.5.2
bower restangular#~1.5.2 validate 1.5.2 against https://gi thub.com/mgonto/restangular.git#~1.5.2
bower ngstorage#~0.3.10 cached https://github.com/gskle e/ngStorage.git#0.3.11
bower ngstorage#~0.3.10 validate 0.3.11 against https://g ithub.com/gsklee/ngStorage.git#~0.3.10
bower angular#>= 1.2.0 cached https://github.com/angul ar/bower-angular.git#1.6.6
bower angular#>= 1.2.0 validate 1.6.6 against https://gi thub.com/angular/bower-angular.git#>= 1.2.0
bower angular#>=1.3.x cached https://github.com/angul ar/bower-angular.git#1.6.6
bower angular#>=1.3.x validate 1.6.6 against https://gi thub.com/angular/bower-angular.git#>=1.3.x
bower angular#^1.2.9 cached https://github.com/angul ar/bower-angular.git#1.6.6
bower angular#^1.2.9 validate 1.6.6 against https://gi thub.com/angular/bower-angular.git#^1.2.9
bower lodash#>=1.3.0 cached https://github.com/lodas h/lodash.git#4.17.4
bower lodash#>=1.3.0 validate 4.17.4 against https://g ithub.com/lodash/lodash.git#>=1.3.0
bower angular#>=1.0.8 cached https://github.com/angul ar/bower-angular.git#1.6.6
bower angular#>=1.0.8 validate 1.6.6 against https://gi thub.com/angular/bower-angular.git#>=1.0.8
bower angular-aria#^1.4.8 cached https://github.com/angular/bower-angular-aria.gi t#1.6.6
bower angular-aria#^1.4.8 validate 1.6.6 against https://github.com/angular/bower-a ngular-aria.git#^1.4.8
bower angular-animate#^1.4.8 cached https://github.com/angular/bower-angular-animate .git#1.6.6
bower angular-animate#^1.4.8 validate 1.6.6 against https://github.com/angular/bower-a ngular-animate.git#^1.4.8
bower angular-messages#^1.4.8 cached https://github.com/angular/bower-angular-message s.git#1.6.6
bower angular-messages#^1.4.8 validate 1.6.6 against https://github.com/angular/bower-a ngular-messages.git#^1.4.8
bower ECONFLICT Unable to find suitable version for angular
U can help me?
Yes sure, at the end, you need to resolve and choose this version of Angular:
1.6.5
yes!!!! They did solve all my problems regarding to installation. I wish the following note will be helpful to the others.
Then, everything is fine, the demo starts correctly! Thank you Jadoubran!!
Have a nice weekend!
I'm submitting a ...
[ ] bug report
Provide information & explanation
After installation L5AMS version 3.4
composer create-project jadjoubran/laravel5-angular-material-starter --prefer-dist cd laravel5-angular-material-starter npm install -g gulp bower npm install bower install
fix database credentials in .env
php artisan migrate gulp
gulp && gulp watch
and i'm running php artisan serve localhots:8000 Bug :
index.modules.js?0f2a:3 Uncaught ReferenceError: angular is not defined at eval (eval at (final-566532fce3.js:100), :3:1)
at Object. (final-566532fce3.js:100)
at webpack_require (final-566532fce3.js:20)
at eval (eval at (final-566532fce3.js:268), :3:1)
at Object. (final-566532fce3.js:268)
at webpack_require (final-566532fce3.js:20)
at final-566532fce3.js:64
at final-566532fce3.js:67
This Example view :![browser](https://user-images.githubusercontent.com/16432953/32093308-ffb75358-bb25-11e7-8f70-d65a86f58078.png)
What can i do for fix the bug?
Got code samples? Make sure to use 3 backticks (and javascript or php after it to show your code) More info Also make sure to click on the Preview button to double check your code formatting
Laravel & Angular version: 3.2.0