I ran into an The index is outside the matrix limits.
error while adding a bundle to my bundleConfig while following this tutorial about the fullCalendar
jQuery plugin
these are the bundles. The files are a little bit different than the ones in the tutorial because of newer versions. note: I also tried the older versions after getting the errors
//Calendar css
bundles.Add(new StyleBundle("~/Content/fullcalendarcss").Include(
"~/Content/themes/base/jquery.ui.all.css",
"~/Content/fullcalendar.css"));
//Calendar script
bundles.Add(new StyleBundle("~/bundles/fullcalendarjs").Include(
"~/Scripts/jquery-ui-1.8.11.min.js",
"~/Scripts/moment.min.js",
"~/Scripts/fullcalendar.min.js"));
while googling for a fix for the error, I came upon this stackoverflow page where the fix was to update the packages. so I did and got the following errors:
Cannot find *projectname* name 'Record'
& Cannot find *projectname* name 'undefined'
which are both inside the index.d.ts
file.
while googling for a fix for those errors, I came upon several pages like this one and this one to name a few, but to no avail.
I'm so confused and I can't find a solution to the Cannot find *projectname* name 'Record'
& Cannot find *projectname* name 'undefined'
errors.
EDIT
also I tried to simply take out the line which was giving the error: [name: string]: (BaseModifier & Record<string, any>) | undefined;
but that just gave me an System.OutOfMemoryException
.
Does anybody know what I should do to resolve this problem?
Thank you kindly.
I ran into an The index is outside the matrix limits.
error while adding a bundle to my bundleConfig while following this tutorial about the fullCalendar
jQuery plugin
these are the bundles. The files are a little bit different than the ones in the tutorial because of newer versions. note: I also tried the older versions after getting the errors
//Calendar css
bundles.Add(new StyleBundle("~/Content/fullcalendarcss").Include(
"~/Content/themes/base/jquery.ui.all.css",
"~/Content/fullcalendar.css"));
//Calendar script
bundles.Add(new StyleBundle("~/bundles/fullcalendarjs").Include(
"~/Scripts/jquery-ui-1.8.11.min.js",
"~/Scripts/moment.min.js",
"~/Scripts/fullcalendar.min.js"));
while googling for a fix for the error, I came upon this stackoverflow page where the fix was to update the packages. so I did and got the following errors:
Cannot find *projectname* name 'Record'
& Cannot find *projectname* name 'undefined'
which are both inside the index.d.ts
file.
while googling for a fix for those errors, I came upon several pages like this one and this one to name a few, but to no avail.
I'm so confused and I can't find a solution to the Cannot find *projectname* name 'Record'
& Cannot find *projectname* name 'undefined'
errors.
EDIT
also I tried to simply take out the line which was giving the error: [name: string]: (BaseModifier & Record<string, any>) | undefined;
but that just gave me an System.OutOfMemoryException
.
Does anybody know what I should do to resolve this problem?
Thank you kindly.
Share Improve this question edited Feb 12, 2018 at 11:14 FllnAngl asked Feb 12, 2018 at 11:08 FllnAnglFllnAngl 5761 gold badge6 silver badges31 bronze badges1 Answer
Reset to default 4Here is the answer. You need to update Typescript to the lastest.
Build error "Cannot find name 'Record'" with bootstrap 4