2
I’m trying to import the fullcalendar in a project, I’m using the Gulp to automate imports. However, when I set out to import fullcalendar I come across this error on the console:
fullcalendar.min.js:6Uncaught Typeerror: Cannot read Property 'push' of Undefined
What could be the problem?
Archive of gulp
:
elixir(function(mix) {
mix.styles([
'./resources/assets/css/app.css',
'./bower_components/fullcalendar/dist/fullcalendar.print.min.css',
'./bower_components/fullcalendar/dist/fullcalendar.min.css',
]);
mix.scripts([
'./bower_components/jquery/dist/jquery.min.js',
'./node_modules/angular/angular.min.js',
'./resources/assets/js/mask.js',
'./bower_components/fullcalendar/dist/fullcalendar.min.js',
'./resources/assets/js/app.js'
]);
});
try to change the declaration order of the scripts, sometimes one is in conflict with the other, can also try to remove all and try to include one by one
– Paulo Roberto Rosa