Thursday, May 23, 2024
Homepage · c#
 Popular · Latest · Hot · Upcoming
38
rated 0 times [  41] [ 3]  / answers: 1 / hits: 15355  / 6 Years ago, mon, february 12, 2018, 12:00:00

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.


More From » c#

 Answers
5

Here is the answer. You need to update Typescript to the lastest.



Build error "Cannot find name 'Record'" with bootstrap 4


[#55186] Thursday, February 8, 2018, 6 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
abagail

Total Points: 528
Total Questions: 109
Total Answers: 101

Location: Western Sahara
Member since Mon, May 3, 2021
3 Years ago
abagail questions
Tue, Aug 16, 22, 00:00, 2 Years ago
Mon, Sep 27, 21, 00:00, 3 Years ago
Sun, May 30, 21, 00:00, 3 Years ago
Sun, Jan 3, 21, 00:00, 3 Years ago
;