【发布时间】:2018-07-22 12:54:11
【问题描述】:
我在遵循this 关于fullCalendar jQuery 插件的教程时向我的bundleConfig 添加一个包时遇到了The index is outside the matrix limits. 错误
这些是捆绑包。由于版本较新,这些文件与教程中的文件略有不同。 注意:我在收到错误后也尝试了旧版本
//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"));
在谷歌搜索修复错误时,我遇到了this stackoverflow 页面,其中修复是更新软件包。所以我做了并得到了以下错误:
Cannot find *projectname* name 'Record' 和 Cannot find *projectname* name 'undefined' 都在 index.d.ts 文件中。
在搜索这些错误的修复方法时,我发现了几个页面,例如 this one 和 this one 等等,但都无济于事。
我很困惑,我找不到解决 Cannot find *projectname* name 'Record' 和 Cannot find *projectname* name 'undefined' 错误的方法。
编辑
我也试图简单地删除给出错误的行:[name: string]: (BaseModifier & Record<string, any>) | undefined;,但这只是给了我一个System.OutOfMemoryException。
有人知道我应该怎么做才能解决这个问题吗?
谢谢。
【问题讨论】:
标签: javascript c# jquery asp.net-mvc-5 fullcalendar