Closed tlenex closed 8 years ago
I look at it right now
I think it would help, if you post the content of your src/app/myController.controller.js
Yup, I will need the content of the file of at least the beginning.
As far a I can see the difference between 1.1.5 and 1.3.0 is that I merged some pull request which improve the inject part and I update dependencies. Your error is in the file reading so maybe, the update of ng-dependencies is the problem...
Just to be sure can you also copy/paste me the result of grunt with --debug option ?
Here we go, the beginning of first file myController
, original file name was chat.controller.js
and its big ~574 lines
(function () {
'use strict';
angular
.module('wombo.components.chat')
.controller('ChatController', ChatController);
ChatController.$inject = [
'$scope',
'$timeout',
'$state',
'$stateParams',
'$log',
'$http',
'$animate',
'socket',
'chatService',
'chatHelpersService',
'sessionService',
'GLOBAL_SETTINGS',
'localeService',
'gettextCatalog',
'Tables',
'TournamentsTables'
];
/* @ngInject */
function ChatController ($scope, $timeout, $state, $stateParams, $log, $http, $animate, socket, chatService, chatHelpersService, sessionService, GLOBAL_SETTINGS, localeService, gettextCatalog, Tables, TournamentsTables) {
var vm = this;
// magic
}
})();
I've tried to keep coding style with johnpapa's style guide
Seems good to me... Huummm Pretty big project with all these modules and 152+ files to insert... Is this file the only one missing or all next files haven't been injected ? Debug version of the task will be needed, I don't see any error/warn/log message so your file exist is not empty and "normaly" readable
Same error here, from ~150 files random 15 have not been included with the same message:
Error in parsing "app/scripts/models/statsModel.js", Cannot read property 'value' of null
Rollback to 1.2.0 worked for me.
$ grunt build --debug
Running "build" task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/Gruntfile.js
Running "clean:dist" (clean) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-contrib-clean/tasks/clean.js
>> 14 paths cleaned.
Running "copy:index" (copy) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-contrib-copy/tasks/copy.js
Copied 1 file
Running "ngconstant:production" (ngconstant) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-ng-constant/tasks/ngconstant.js
Creating module globalConfig at src/app/global-config.js...OK
Running "sass_config:production" (sass_config) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/Gruntfile.js
Running "angularFileLoader:default_options" (angularFileLoader) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-angular-file-loader/tasks/angular_file_loader.js
[D] Iteration though file group
[D] Working on .tmp/index.html
[D] Defining dependencies of src/app/app.config.js
[D] [object Object]
[D] ng,wombo
[D] Defining dependencies of src/app/app.module.js
[D] [object Object]
[D] ng,ngRaven,ngAnimate,ngResource,ui.router,ui.router.tabs,ngSanitize,ngTouch,infinite-scroll,timer,angular-clipboard,ng.deviceDetector,chart.js,720kb.socialshare,ordinal,angularMoment,ngAudio,gettext,ui.bootstrap,globalConfig,wombo.components.wallet,wombo.components.header,wombo.components.chat,wombo.components.auth,wombo.components.modals,wombo.components.progressSteps,wombo.components.locale,wombo.components.utils,wombo.components.utils.providers,wombo.components.notifications,wombo.page.info,wombo.page.lobby,wombo.page.dashboard,wombo.page.newTable,wombo.page.notifications,wombo.page.tables,wombo.page.payments,wombo.page.premium,wombo.page.tournaments,wombo.redirects
[D] Defining dependencies of src/app/app.run.js
[D] [object Object]
[D] ng,wombo
[D] Defining dependencies of src/app/components/auth/auth-resource.service.js
[D] [object Object]
[D] ng,wombo.components.auth
[D] Defining dependencies of src/app/components/auth/auth.module.js
[D] [object Object]
[D] ng,wombo.components.utils,wombo.components.auth.confirm,wombo.components.auth.login,wombo.components.auth.register,wombo.components.auth.reset
[D] Defining dependencies of src/app/components/auth/auth.service.js
[D] [object Object]
[D] ng,wombo.components.auth
[D] Defining dependencies of src/app/components/auth/confirmAccount/confirm-account.config.js
[D] [object Object]
[D] ng,wombo.components.auth.confirm
[D] Defining dependencies of src/app/components/auth/confirmAccount/confirm-account.controller.js
[D] [object Object]
[D] ng,wombo.components.auth.confirm
[D] Defining dependencies of src/app/components/auth/confirmAccount/confirm-account.module.js
[D] [object Object]
[D] ng,wombo.components.utils.providers
[D] Defining dependencies of src/app/components/auth/login/login.config.js
[D] [object Object]
[D] ng,wombo.components.auth.login
[D] Defining dependencies of src/app/components/auth/login/login.controller.js
[D] [object Object]
[D] ng,wombo.components.auth.login
[D] Defining dependencies of src/app/components/auth/login/login.module.js
[D] [object Object]
[D] ng,wombo.components.utils.providers
[D] Defining dependencies of src/app/components/auth/register/register.config.js
[D] [object Object]
[D] ng,wombo.components.auth.register
[D] Defining dependencies of src/app/components/auth/register/register.controller.js
[D] [object Object]
[D] ng,wombo.components.auth.register
[D] Defining dependencies of src/app/components/auth/register/register.module.js
[D] [object Object]
[D] ng,wombo.components.utils.providers
[D] Defining dependencies of src/app/components/auth/resetPassword/reset-password.config.js
[D] [object Object]
[D] ng,wombo.components.auth.reset
[D] Defining dependencies of src/app/components/auth/resetPassword/reset-password.controller.js
[D] [object Object]
[D] ng,wombo.components.auth.reset
[D] Defining dependencies of src/app/components/auth/resetPassword/reset-password.module.js
[D] [object Object]
[D] ng,wombo.components.utils.providers
[D] Defining dependencies of src/app/components/auth/session.service.js
[D] [object Object]
[D] ng,wombo.components.auth
[D] Defining dependencies of src/app/components/chat/chat-helpers.service.js
[D] [object Object]
[D] ng,wombo.components.chat
[D] Defining dependencies of src/app/components/chat/chat.controller.js
>> Error in parsing "src/app/components/chat/chat.controller.js", Cannot read property 'value' of null
[D] Defining dependencies of src/app/components/chat/chat.directive.js
>> Error in parsing "src/app/components/chat/chat.directive.js", Cannot read property 'value' of null
[D] Defining dependencies of src/app/components/chat/chat.module.js
[D] [object Object]
[D] ng,ngSanitize,globalConfig
[D] Defining dependencies of src/app/components/chat/chat.service.js
[D] [object Object]
[D] ng,wombo.components.chat
[D] Defining dependencies of src/app/components/chat/socket.service.js
[D] [object Object]
[D] ng,wombo.components.chat
[D] Defining dependencies of src/app/components/chat/wrapper/chatWrapper.directive.js
[D] [object Object]
[D] ng,wombo.components.chat
[D] Defining dependencies of src/app/components/fileUpload/fileUpload.js
[D] [object Object]
[D] ng,angularFileUpload
[D] Defining dependencies of src/app/components/fileUpload/fileUpload.service.js
[D] [object Object]
[D] ng,wombo.components.fileUploader
[D] Defining dependencies of src/app/components/forms/forms.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/components/header/alert/alert.directive.js
[D] [object Object]
[D] ng,wombo.components.alert
[D] Defining dependencies of src/app/components/header/alert/alert.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/components/header/alert/alert.service.js
[D] [object Object]
[D] ng,wombo.components.alert
[D] Defining dependencies of src/app/components/header/balanceButton/balanceButton.controller.js
[D] [object Object]
[D] ng,wombo.components.balanceButton
[D] Defining dependencies of src/app/components/header/balanceButton/balanceButton.js
[D] [object Object]
[D] ng,wombo.components.wallet
[D] Defining dependencies of src/app/components/header/gameAlert/game-alert.directive.js
[D] [object Object]
[D] ng,wombo.components.gameAlert
[D] Defining dependencies of src/app/components/header/gameAlert/game-alert.module.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/components/header/gameAlert/game-alert.service.js
>> Error in parsing "src/app/components/header/gameAlert/game-alert.service.js", Cannot read property 'value' of null
[D] Defining dependencies of src/app/components/header/header.controller.js
[D] [object Object]
[D] ng,wombo.components.auth
[D] Defining dependencies of src/app/components/header/header.directive.js
[D] [object Object]
[D] ng,wombo.components.header
[D] Defining dependencies of src/app/components/header/header.module.js
[D] [object Object]
[D] ng,wombo.components.notificationsBell,wombo.components.balanceButton,wombo.components.localeButton,wombo.components.alert,wombo.components.gameAlert
[D] Defining dependencies of src/app/components/header/localeButton/localeButton.controller.js
[D] [object Object]
[D] ng,wombo.components.localeButton
[D] Defining dependencies of src/app/components/header/localeButton/localeButton.directive.js
[D] [object Object]
[D] ng,wombo.components.localeButton
[D] Defining dependencies of src/app/components/header/localeButton/localeButton.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/components/header/notificationsBell/notificationsBell.controller.js
[D] [object Object]
[D] ng,wombo.components.notificationsBell
[D] Defining dependencies of src/app/components/header/notificationsBell/notificationsBell.directive.js
[D] [object Object]
[D] ng,wombo.components.notificationsBell
[D] Defining dependencies of src/app/components/header/notificationsBell/notificationsBell.module.js
[D] [object Object]
[D] ng,wombo.components.notifications
[D] Defining dependencies of src/app/components/locale/locale.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/components/locale/locale.service.js
[D] [object Object]
[D] ng,wombo.components.locale
[D] Defining dependencies of src/app/components/modals/modals.js
[D] [object Object]
[D] ng,ui.bootstrap
[D] Defining dependencies of src/app/components/modals/modals.module.js
[D] [object Object]
[D] ng,ui.bootstrap
[D] Defining dependencies of src/app/components/modals/modals.service.js
[D] [object Object]
[D] ng,wombo.components.modals
[D] Defining dependencies of src/app/components/notifications/circle/circleNotifications.controller.js
[D] [object Object]
[D] ng,wombo.components.notifications.circle
[D] Defining dependencies of src/app/components/notifications/circle/circleNotifications.directive.js
[D] [object Object]
[D] ng,wombo.components.notifications.circle
[D] Defining dependencies of src/app/components/notifications/circle/circleNotifications.module.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/components/notifications/csgo/csgoNotifications.controller.js
[D] [object Object]
[D] ng,wombo.components.notifications.csgo
[D] Defining dependencies of src/app/components/notifications/csgo/csgoNotifications.module.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/components/notifications/csgo/csgoNotifications.service.js
>> Error in parsing "src/app/components/notifications/csgo/csgoNotifications.service.js", Cannot read property 'value' of null
[D] Defining dependencies of src/app/components/notifications/notifications.module.js
[D] [object Object]
[D] ng,wombo.components.notifications.csgo,wombo.components.notifications.circle,wombo.components.notifications.sound
[D] Defining dependencies of src/app/components/notifications/notifications.service.js
>> Error in parsing "src/app/components/notifications/notifications.service.js", Cannot read property 'value' of null
[D] Defining dependencies of src/app/components/notifications/sound/soundNotifications.module.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/components/notifications/sound/soundNotifications.service.js
[D] [object Object]
[D] ng,wombo.components.notifications.sound
[D] Defining dependencies of src/app/components/progressSteps/progressSteps.directive.js
[D] [object Object]
[D] ng,wombo.components.progressSteps
[D] Defining dependencies of src/app/components/progressSteps/progressSteps.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/components/table/table.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/components/utils/directives/bindHtmlCompile.directive.js
[D] [object Object]
[D] ng,wombo.components.utils
[D] Defining dependencies of src/app/components/utils/directives/equals.directive.js
>> Error in parsing "src/app/components/utils/directives/equals.directive.js", Cannot read property 'value' of null
[D] Defining dependencies of src/app/components/utils/directives/formBlur.directive.js
>> Error in parsing "src/app/components/utils/directives/formBlur.directive.js", Cannot read property 'value' of null
[D] Defining dependencies of src/app/components/utils/directives/onloadScroll.directive.js
[D] [object Object]
[D] ng,wombo.components.utils
[D] Defining dependencies of src/app/components/utils/directives/regExInput.directive.js
[D] [object Object]
[D] ng,wombo.components.utils
[D] Defining dependencies of src/app/components/utils/filters/getTime.filter.js
>> Error in parsing "src/app/components/utils/filters/getTime.filter.js", Cannot read property 'value' of null
[D] Defining dependencies of src/app/components/utils/filters/noCacheSrc.filter.js
[D] [object Object]
[D] ng,wombo.components.utils
[D] Defining dependencies of src/app/components/utils/utils.module.js
[D] [object Object]
[D] ng,wombo.components.utils.providers
[D] Defining dependencies of src/app/components/utils/utils.providers.module.js
>> Error in parsing "src/app/components/utils/utils.providers.module.js", Cannot read property 'value' of null
[D] Defining dependencies of src/app/components/wallet/wallet.module.js
[D] [object Object]
[D] ng,ngResource,globalConfig
[D] Defining dependencies of src/app/components/wallet/wallet.service.js
[D] [object Object]
[D] ng,wombo.components.wallet
[D] Defining dependencies of src/app/dashboard/dashboard.controller.js
[D] [object Object]
[D] ng,wombo.page.dashboard
[D] Defining dependencies of src/app/dashboard/dashboard.js
[D] [object Object]
[D] ng,ui.router,ui.bootstrap,wombo.components.my_results,wombo.components.my_transactions,wombo.components.my_profile,wombo.components.my_games,wombo.components.my_tables,wombo.components.my_withdraws,wombo.components.fileUploader,wombo.components.voucher,wombo.components.tables,wombo.components.summary,wombo.components.referral
[D] Defining dependencies of src/app/dashboard/my_games/battlenet/Hearthstone/Hearthstone.controller.js
[D] [object Object]
[D] ng,wombo.components.my_games.battlenet.Hearthstone
[D] Defining dependencies of src/app/dashboard/my_games/battlenet/Hearthstone/Hearthstone.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/dashboard/my_games/my_games.controller.js
[D] [object Object]
[D] ng,wombo.components.my_games
[D] Defining dependencies of src/app/dashboard/my_games/my_games.js
[D] [object Object]
[D] ng,wombo.components.my_games.steam.CSGO,wombo.components.my_games.steam.DOTA2
[D] Defining dependencies of src/app/dashboard/my_games/my_games.service.js
[D] [object Object]
[D] ng,wombo.components.my_games
[D] Defining dependencies of src/app/dashboard/my_games/steam/CSGO/CSGO.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/dashboard/my_games/steam/DOTA2/DOTA2.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/dashboard/my_games/steam/steam.controller.js
[D] [object Object]
[D] ng,wombo.components.my_games.steam.DOTA2
[D] Defining dependencies of src/app/dashboard/my_profile/js/wombo-datepicker-directive.js
[D] [object Object]
[D] ng,wombo.components.my_profile
[D] Defining dependencies of src/app/dashboard/my_profile/my_profile.controller.js
[D] [object Object]
[D] ng,wombo.components.my_withdraws
[D] Defining dependencies of src/app/dashboard/my_profile/my_profile.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/dashboard/my_profile/my_profile.service.js
[D] [object Object]
[D] ng,wombo.components.my_profile
[D] Defining dependencies of src/app/dashboard/my_results/my_results.controller.js
[D] [object Object]
[D] ng,wombo.components.my_results
[D] Defining dependencies of src/app/dashboard/my_results/my_results.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/dashboard/my_results/my_results.service.js
[D] [object Object]
[D] ng,wombo.components.my_results
[D] Defining dependencies of src/app/dashboard/my_tables/my_tables.controller.js
[D] [object Object]
[D] ng,wombo.components.my_tables
[D] Defining dependencies of src/app/dashboard/my_tables/my_tables.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/dashboard/my_tables/my_tables.service.js
[D] [object Object]
[D] ng,wombo.components.my_withdraws
[D] Defining dependencies of src/app/dashboard/my_transactions/my_transactions.controller.js
[D] [object Object]
[D] ng,wombo.components.my_transactions
[D] Defining dependencies of src/app/dashboard/my_transactions/my_transactions.filter.js
[D] [object Object]
[D] ng,wombo.components.my_transactions
[D] Defining dependencies of src/app/dashboard/my_transactions/my_transactions.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/dashboard/my_transactions/my_transactions.service.js
[D] [object Object]
[D] ng,wombo.components.my_transactions
[D] Defining dependencies of src/app/dashboard/my_withdraws/my_withdraws.controller.js
[D] [object Object]
[D] ng,wombo.components.my_withdraws
[D] Defining dependencies of src/app/dashboard/my_withdraws/my_withdraws.js
[D] [object Object]
[D] ng,wombo.components.forms
[D] Defining dependencies of src/app/dashboard/my_withdraws/my_withdraws.service.js
[D] [object Object]
[D] ng,wombo.components.my_withdraws
[D] Defining dependencies of src/app/dashboard/referral/referral.config.js
[D] [object Object]
[D] ng,wombo.components.referral
[D] Defining dependencies of src/app/dashboard/referral/referral.controller.js
[D] [object Object]
[D] ng,wombo.components.referral
[D] Defining dependencies of src/app/dashboard/referral/referral.module.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/dashboard/summary/summary.config.js
[D] [object Object]
[D] ng,wombo.components.summary
[D] Defining dependencies of src/app/dashboard/summary/summary.controller.js
[D] [object Object]
[D] ng,wombo.components.summary
[D] Defining dependencies of src/app/dashboard/summary/summary.module.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/dashboard/summary/summary.service.js
[D] [object Object]
[D] ng,wombo.components.summary
[D] Defining dependencies of src/app/dashboard/voucher/voucher.controller.js
[D] [object Object]
[D] ng,wombo.components.voucher
[D] Defining dependencies of src/app/dashboard/voucher/voucher.js
[D] [object Object]
[D] ng,wombo.components.wallet
[D] Defining dependencies of src/app/dashboard/voucher/voucher.service.js
[D] [object Object]
[D] ng,wombo.components.voucher
[D] Defining dependencies of src/app/info/faq/faq.controller.js
[D] [object Object]
[D] ng,wombo.page.info.faq
[D] Defining dependencies of src/app/info/faq/faq.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/info/index/index.controller.js
>> Error in parsing "src/app/info/index/index.controller.js", Cannot read property 'value' of null
[D] Defining dependencies of src/app/info/info.config.js
[D] [object Object]
[D] ng,wombo.page.info
[D] Defining dependencies of src/app/info/info.module.js
[D] [object Object]
[D] ng,ui.router,duScroll,wombo.page.info.faq
[D] Defining dependencies of src/app/lobby/lobby.controller.js
[D] [object Object]
[D] ng,wombo.page.lobby
[D] Defining dependencies of src/app/lobby/lobby.js
[D] [object Object]
[D] ng,ui.router,wombo.components.tables,gettext
[D] Defining dependencies of src/app/lobby/lobby.service.js
[D] [object Object]
[D] ng,wombo.page.lobby
[D] Defining dependencies of src/app/lobby/lobbyCurrency.filter.js
[D] [object Object]
[D] ng,wombo.page.lobby
[D] Defining dependencies of src/app/newTable/newTable.controller.js
[D] [object Object]
[D] ng,wombo.page.newTable
[D] Defining dependencies of src/app/newTable/newTable.js
[D] [object Object]
[D] ng,ui.router
[D] Defining dependencies of src/app/newTable/newTable.service.js
[D] [object Object]
[D] ng,wombo.page.newTable
[D] Defining dependencies of src/app/notifications/notifications.controller.js
[D] [object Object]
[D] ng,wombo.page.notifications
[D] Defining dependencies of src/app/notifications/notifications.js
[D] [object Object]
[D] ng,ngResource,ui.router,globalConfig,wombo.components.notifications
[D] Defining dependencies of src/app/payments/payments.amounts.controller.js
[D] [object Object]
[D] ng,wombo.page.payments
[D] Defining dependencies of src/app/payments/payments.confirmation.controller.js
[D] [object Object]
[D] ng,wombo.page.payments
[D] Defining dependencies of src/app/payments/payments.methods.controller.js
[D] [object Object]
[D] ng,wombo.page.payments
[D] Defining dependencies of src/app/payments/payments.module.js
[D] [object Object]
[D] ng,ui.router,ui.bootstrap,globalConfig
[D] Defining dependencies of src/app/payments/payments.service.js
[D] [object Object]
[D] ng,wombo.page.payments
[D] Defining dependencies of src/app/premium/premium.config.js
[D] [object Object]
[D] ng,wombo.page.premium
[D] Defining dependencies of src/app/premium/premium.controller.js
[D] [object Object]
[D] ng,wombo.page.premium
[D] Defining dependencies of src/app/premium/premium.module.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/premium/premium.service.js
[D] [object Object]
[D] ng,wombo.page.premium
[D] Defining dependencies of src/app/redirects/redirects.js
[D] [object Object]
[D] ng,wombo.redirects.steam
[D] Defining dependencies of src/app/redirects/steam/error/error.controller.js
[D] [object Object]
[D] ng,wombo.redirects.steam
[D] Defining dependencies of src/app/redirects/steam/steam.controller.js
[D] [object Object]
[D] ng,wombo.redirects.steam
[D] Defining dependencies of src/app/redirects/steam/steam.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/tables/acceptReminder/acceptReminder.controller.js
[D] [object Object]
[D] ng,wombo.page.tables
[D] Defining dependencies of src/app/tables/inputScoreReminder/inputScoreReminder.controller.js
[D] [object Object]
[D] ng,wombo.page.tables
[D] Defining dependencies of src/app/tables/playerCard/playerCard.js
[D] [object Object]
[D] ng,wombo.components.forms,wombo.components.fileUploader
[D] Defining dependencies of src/app/tables/scoreCard/scoreCard.js
[D] [object Object]
[D] ng,wombo.components.forms,wombo.components.fileUploader
[D] Defining dependencies of src/app/tables/tables.config.js
[D] [object Object]
[D] ng,wombo.page.tables
[D] Defining dependencies of src/app/tables/tables.controller.js
>> Error in parsing "src/app/tables/tables.controller.js", Cannot read property 'value' of null
[D] Defining dependencies of src/app/tables/tables.module.js
[D] [object Object]
[D] ng,ngResource,ui.router,ui.bootstrap,wombo.components.playerCard,wombo.components.scoreCard
[D] Defining dependencies of src/app/tables/tables.service.js
[D] [object Object]
[D] ng,wombo.page.tables
[D] Defining dependencies of src/app/tournaments/tournaments.module.js
[D] [object Object]
[D] ng,wombo.page.tournaments.list,wombo.page.tournaments.details,wombo.page.tournaments.tables
[D] Defining dependencies of src/app/tournaments/tournamentsDetails/tournamentsDetails.config.js
[D] [object Object]
[D] ng,wombo.page.tournaments.details
[D] Defining dependencies of src/app/tournaments/tournamentsDetails/tournamentsDetails.controller.js
[D] [object Object]
[D] ng,wombo.page.tournaments.details
[D] Defining dependencies of src/app/tournaments/tournamentsDetails/tournamentsDetails.module.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/tournaments/tournamentsDetails/tournamentsDetails.service.js
[D] [object Object]
[D] ng,wombo.page.tournaments.details
[D] Defining dependencies of src/app/tournaments/tournamentsList/tournamentsList.config.js
[D] [object Object]
[D] ng,wombo.page.tournaments.list
[D] Defining dependencies of src/app/tournaments/tournamentsList/tournamentsList.controller.js
[D] [object Object]
[D] ng,wombo.page.tournaments.list
[D] Defining dependencies of src/app/tournaments/tournamentsList/tournamentsList.module.js
[D] [object Object]
[D] ng
[D] Defining dependencies of src/app/tournaments/tournamentsList/tournamentsList.service.js
[D] [object Object]
[D] ng,wombo.page.tournaments.list
[D] Defining dependencies of src/app/tournaments/tournamentsTables/acceptReminder/acceptReminder.controller.js
[D] [object Object]
[D] ng,wombo.page.tables
[D] Defining dependencies of src/app/tournaments/tournamentsTables/inputScoreReminder/inputScoreReminder.controller.js
[D] [object Object]
[D] ng,wombo.page.tables
[D] Defining dependencies of src/app/tournaments/tournamentsTables/playerCard/playerCard.js
[D] [object Object]
[D] ng,wombo.components.forms,wombo.components.fileUploader
[D] Defining dependencies of src/app/tournaments/tournamentsTables/scoreCard/scoreCard.js
[D] [object Object]
[D] ng,wombo.components.forms,wombo.components.fileUploader
[D] Defining dependencies of src/app/tournaments/tournamentsTables/tournamentsTables.config.js
[D] [object Object]
[D] ng,wombo.page.tournaments.tables
[D] Defining dependencies of src/app/tournaments/tournamentsTables/tournamentsTables.controller.js
>> Error in parsing "src/app/tournaments/tournamentsTables/tournamentsTables.controller.js", Cannot read property 'value' of null
[D] Defining dependencies of src/app/tournaments/tournamentsTables/tournamentsTables.module.js
[D] [object Object]
[D] ng,ngResource,ui.router,ui.bootstrap,wombo.page.tournaments.tables.playerCard,wombo.page.tournaments.tables.scoreCard
[D] Defining dependencies of src/app/tournaments/tournamentsTables/tournamentsTables.service.js
[D] [object Object]
[D] ng,wombo.page.tournaments.tables
>> 152 files inserted into .tmp/index.html
Running "wiredep:app" (wiredep) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-wiredep/tasks/wiredep.js
Running "wiredep:test" (wiredep) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-wiredep/tasks/wiredep.js
Running "wiredep:sass" (wiredep) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-wiredep/tasks/wiredep.js
Running "sass_compile_imports:compile" (sass_compile_imports) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-sass-compile-imports/tasks/sass_compile_imports.js
Scanning for files to import
Importing: src/app/app.config.sass
Importing: src/app/app.sass
Importing: src/app/components/auth/register/_register.sass
Importing: src/app/components/chat/_chat.sass
Importing: src/app/components/chat/wrapper/_chatWrapper.sass
Importing: src/app/components/footer/_footer.sass
Importing: src/app/components/header/_header.sass
Importing: src/app/components/header/alert/_alert.sass
Importing: src/app/components/header/balanceButton/_balanceBalance.sass
Importing: src/app/components/header/gameAlert/_game-alert.sass
Importing: src/app/components/header/localeButton/_localeButton.sass
Importing: src/app/components/header/notificationsBell/_notificationsBell.sass
Importing: src/app/components/modals/_modals.sass
Importing: src/app/components/notifications/circle/_circleNotifications.sass
Importing: src/app/components/notifications/csgo/_csgoNotifications.sass
Importing: src/app/components/progressSteps/_progressSteps.sass
Importing: src/app/components/table/_table.sass
Importing: src/app/components/utils/sass/_button.sass
Importing: src/app/components/utils/sass/_divTables.sass
Importing: src/app/components/utils/sass/_label.sass
Importing: src/app/components/utils/sass/_tooltip.sass
Importing: src/app/dashboard/_dashboard.sass
Importing: src/app/dashboard/my_games/_my_games.sass
Importing: src/app/dashboard/my_profile/_my_profile.sass
Importing: src/app/dashboard/my_results/_my_results.sass
Importing: src/app/dashboard/my_tables/_my_tables.sass
Importing: src/app/dashboard/my_transactions/_my_transactions.sass
Importing: src/app/dashboard/my_withdraws/_my_withdraws.sass
Importing: src/app/dashboard/referral/_referral.sass
Importing: src/app/dashboard/summary/_summary.sass
Importing: src/app/dashboard/voucher/_voucher.sass
Importing: src/app/info/_info.sass
Importing: src/app/info/index/_index.sass
Importing: src/app/info/index/mixins/_buttons.sass
Importing: src/app/info/index/mixins/_clearfix.sass
Importing: src/app/info/index/mixins/_gradient.sass
Importing: src/app/info/index/mixins/_grid-framework.sass
Importing: src/app/info/index/mixins/_grid.sass
Importing: src/app/info/index/mixins/_position.sass
Importing: src/app/info/index/mixins/_tab-focus.sass
Importing: src/app/info/index/mixins/_transform.sass
Importing: src/app/info/index/mixins/_vars.sass
Importing: src/app/info/index/mixins/_vendor.sass
Importing: src/app/lobby/_lobby.sass
Importing: src/app/newTable/_new_table.sass
Importing: src/app/notifications/_notifications.sass
Importing: src/app/payments/_payments.sass
Importing: src/app/premium/_premium.sass
Importing: src/app/tables/_tables.sass
Importing: src/app/tournaments/tournaments.sass
Importing: src/app/tournaments/tournamentsDetails/_tournamentsDetails.sass
Importing: src/app/tournaments/tournamentsList/_tournamentsList.sass
Importing: src/app/tournaments/tournamentsTables/_tournamentsTables.sass
Imported: 53 files
Import file created
Running "replace:sass" (replace) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-text-replace/tasks/text-replace.js
Running "useminPrepare:html" (useminPrepare) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-usemin/tasks/usemin.js
Configuration changed for concat, uglify, cssmin
Running "concurrent:dist" (concurrent) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-concurrent/tasks/concurrent.js
Running "svgmin:dist" (svgmin) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-svgmin/tasks/svgmin.js
Total saved: 0 B
Done, without errors.
Execution Time (2016-08-05 15:18:40 UTC+2)
loading tasks 50ms ▇▇▇▇▇ 12%
loading grunt-svgmin 231ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 56%
svgmin:dist 125ms ▇▇▇▇▇▇▇▇▇▇▇▇▇ 30%
Total 410ms
Running "imagemin:dist" (imagemin) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-contrib-imagemin/tasks/imagemin.js
Minified 3 images (saved 21.53 kB)
Done, without errors.
Execution Time (2016-08-05 15:18:40 UTC+2)
loading tasks 46ms ▇ 2%
loading grunt-contrib-imagemin 900ms ▇▇▇▇▇▇▇▇▇▇ 30%
imagemin:dist 2s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 68%
Total 3s
Running "compass:dist" (compass) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-contrib-compass/tasks/compass.js
write .tmp/styles/app.css (8.967s)
write .tmp/styles/main.css (12.635s)
directory .tmp/styles/tournaments
write .tmp/styles/tournaments/tournaments.css (0.007s)
Done, without errors.
Execution Time (2016-08-05 15:18:40 UTC+2)
compass:dist 22.9s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 100%
Total 23s
Running "autoprefixer:server" (autoprefixer) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-autoprefixer/tasks/autoprefixer.js
Autoprefixer's process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead
File .tmp/styles/app.config.css created.
Autoprefixer's process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead
File .tmp/styles/app.css created.
File .tmp/styles/app.css.map created (source map).
Autoprefixer's process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead
File .tmp/styles/main.css created.
Autoprefixer's process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead
File .tmp/styles/tournaments/tournaments.css created.
Running "autoprefixer:dist" (autoprefixer) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-autoprefixer/tasks/autoprefixer.js
Autoprefixer's process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead
File .tmp/styles/app.config.css created.
Autoprefixer's process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead
File .tmp/styles/app.css created.
Autoprefixer's process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead
File .tmp/styles/main.css created.
Autoprefixer's process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead
File .tmp/styles/tournaments/tournaments.css created.
Running "ngtemplates:dist" (ngtemplates) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-angular-templates/tasks/angular-templates.js
File .tmp/templateCache.js created.
Added .tmp/templateCache.js to <!-- build:js scripts/scripts.js -->
Running "concat:generated" (concat) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-contrib-concat/tasks/concat.js
File .tmp/concat/scripts/vendor.js created.
File .tmp/concat/scripts/scripts.js created.
Running "ngAnnotate:dist" (ngAnnotate) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-ng-annotate/tasks/ng-annotate.js
>> 2 files successfully generated.
Running "copy:dist" (copy) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-contrib-copy/tasks/copy.js
Copied 24 files
Running "cssmin:generated" (cssmin) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-contrib-cssmin/tasks/cssmin.js
>> 2 files created. 903.94 kB → 421.87 kB
Running "uglify:generated" (uglify) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-contrib-uglify/tasks/uglify.js
>> 2 files created.
Running "filerev:dist" (filerev) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-filerev/tasks/filerev.js
Revved 4 files
Running "usemin:html" (usemin) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-usemin/tasks/usemin.js
Replaced 2 references to assets
Running "usemin:css" (usemin) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-usemin/tasks/usemin.js
Replaced 2 references to assets
Running "usemin:js" (usemin) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-usemin/tasks/usemin.js
Replaced 2 references to assets
Running "htmlmin:dist" (htmlmin) task
[D] Task source: /home/tlenex/projects/github/wombo-frontend/node_modules/grunt-contrib-htmlmin/tasks/htmlmin.js
Minified 2 files
Done, without errors.
Execution Time (2016-08-05 15:18:37 UTC+2)
concurrent:dist 24.3s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 29%
autoprefixer:server 3.9s ▇▇▇ 5%
ngAnnotate:dist 8s ▇▇▇▇▇▇ 9%
cssmin:generated 2.6s ▇▇ 3%
uglify:generated 42.2s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 50%
Total 1m 25.1s
I think errors tirgger on big files only
Hmm, I don't think so - at least not in my case. One of the files that hasn't been parsed was only 35 lines long.
As I was thinking, the problem come from the part where dependencies are computed by ng-dependencies.
I use the standard way to read file with grunt... I didn't touch this part from the beginning I can't explain why it works on 1.2.0 but not on 1.3.0. I will investigate this !
@anteq Johnpapa's style too ?
Are all your files UTF-8 encoded ? By default grunt read all file as UTF-8, so it could explain why ng dependencies can't parse it if there are not in UTF-8
yes, all are UTF-8
It could be https://github.com/klei/ng-dependencies/pull/15/files where they start using node.init.value
(internal variable in esprima).
If so, a downgrade to "ng-dependencies": "~0.7.0",
would fix it.
Could someone test this? @tlenex @anteq
Just an uneducated guess.
Should be fixed in ng-dependencies 0.8.1
I can confirm fix resolved the issue
after update to newest version 1.3.0
grunt config:
run console:
result on browser console:
Uncaught Error: [$injector:modulerr] Failed to instantiate module appMyModule due to: (...)
after rollback to 1.1.5 everything works fine