You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I would use proxy feature of gulp, but I have few problems as reported here: Swiip/generator-gulp-angular#442
I think is a problem of generator-gulp-angular version: "0.11.0".
So I updated the generator-gulp-angular with yo at version 1.0.2, but now with gulp serve I have a white browser screen and 18 errors:
[18:05:58] Using gulpfile ~/dash/sb-admin-2/gulpfile.js
[18:05:58] Starting 'markups'...
[18:05:58] Starting 'scripts'...
[18:05:59] Starting 'styles'...
[18:06:00] gulp-inject 7 files into index.scss.
[18:06:02] Finished 'styles' after 2.81 s
[18:06:02]
/home/serra82/dash/sb-admin-2/src/app/app.js
3:1 error You should use the function syntax for DI angular/di
15:5 error State "sbAdmin2.authenticated.morris" should use controllerAs syntax angular/controller-as-route
15:5 error State "sbAdmin2.authenticated.flot" should use controllerAs syntax angular/controller-as-route
15:5 error State "sbAdmin2.authenticated.dashboard" should use controllerAs syntax angular/controller-as-route
/home/serra82/dash/sb-admin-2/src/app/dashboard/dashboard-controller.js
4:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
18:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
78:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
/home/serra82/dash/sb-admin-2/src/app/flot/flot-controller.js
39:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
48:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
1036:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
1093:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
1149:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
/home/serra82/dash/sb-admin-2/src/app/morris/morris.js
3:1 error The MorrisCtrl controller should follow this pattern: /[A-Z].*Controller$/ angular/controller-name
3:1 error You should use the function syntax for DI angular/di
4:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
64:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
78:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
115:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
✖ 18 problems (18 errors, 0 warnings)
[18:06:02] all files 141.5 kB
[18:06:02] Finished 'scripts' after 3.39 s
[18:06:02] Starting 'inject'...
[18:06:02] gulp-inject 1 files into index.html.
[18:06:02] Finished 'markups' after 3.51 s
[18:06:02] gulp-inject 14 files into index.html.
[18:06:02] Finished 'inject' after 199 ms
[18:06:02] Starting 'watch'...
[18:06:02] Finished 'watch' after 81 ms
[18:06:02] Starting 'serve'...
[18:06:02] Finished 'serve' after 141 ms
[BS] [BrowserSync SPA] Running...
[BS] Access URLs:
Hi,
I would use proxy feature of gulp, but I have few problems as reported here:
Swiip/generator-gulp-angular#442
I think is a problem of generator-gulp-angular version: "0.11.0".
So I updated the generator-gulp-angular with yo at version 1.0.2, but now with gulp serve I have a white browser screen and 18 errors:
[18:05:58] Using gulpfile ~/dash/sb-admin-2/gulpfile.js
[18:05:58] Starting 'markups'...
[18:05:58] Starting 'scripts'...
[18:05:59] Starting 'styles'...
[18:06:00] gulp-inject 7 files into index.scss.
[18:06:02] Finished 'styles' after 2.81 s
[18:06:02]
/home/serra82/dash/sb-admin-2/src/app/app.js
3:1 error You should use the function syntax for DI angular/di
15:5 error State "sbAdmin2.authenticated.morris" should use controllerAs syntax angular/controller-as-route
15:5 error State "sbAdmin2.authenticated.flot" should use controllerAs syntax angular/controller-as-route
15:5 error State "sbAdmin2.authenticated.dashboard" should use controllerAs syntax angular/controller-as-route
/home/serra82/dash/sb-admin-2/src/app/dashboard/dashboard-controller.js
4:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
18:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
78:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
/home/serra82/dash/sb-admin-2/src/app/flot/flot-controller.js
39:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
48:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
1036:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
1093:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
1149:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
/home/serra82/dash/sb-admin-2/src/app/morris/morris.js
3:1 error The MorrisCtrl controller should follow this pattern: /[A-Z].*Controller$/ angular/controller-name
3:1 error You should use the function syntax for DI angular/di
4:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
64:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
78:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
115:5 error You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this" angular/controller-as
✖ 18 problems (18 errors, 0 warnings)
[18:06:02] all files 141.5 kB
[18:06:02] Finished 'scripts' after 3.39 s
[18:06:02] Starting 'inject'...
[18:06:02] gulp-inject 1 files into index.html.
[18:06:02] Finished 'markups' after 3.51 s
[18:06:02] gulp-inject 14 files into index.html.
[18:06:02] Finished 'inject' after 199 ms
[18:06:02] Starting 'watch'...
[18:06:02] Finished 'watch' after 81 ms
[18:06:02] Starting 'serve'...
[18:06:02] Finished 'serve' after 141 ms
[BS] [BrowserSync SPA] Running...
[BS] Access URLs:
UI External: http://192.168.199.130:3001
[BS] Serving files from: .tmp/serve
[BS] Serving files from: src
any idea?
thank you
Andrea
The text was updated successfully, but these errors were encountered: