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.
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.
Here is the answer. You need to update Typescript to the lastest.
Build error "Cannot find name 'Record'" with bootstrap 4
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With