Angular 日历无法读取属性
前提是我是新来的,我还有很多东西要学。 我从git fullcalendar()下载,打开项目后,在执行npm安装和ng服务后,我收到以下错误消息:Angular 日历无法读取属性,angular,fullcalendar,Angular,Fullcalendar,前提是我是新来的,我还有很多东西要学。 我从git fullcalendar()下载,打开项目后,在执行npm安装和ng服务后,我收到以下错误消息: TypeError: Cannot read property 'start' of undefined at Object.addParseSpanInfo at AstTranslator.visitMethodCall at MethodCall.visit at AstTranslator.translate at Object.as
TypeError: Cannot read property 'start' of undefined
at Object.addParseSpanInfo
at AstTranslator.visitMethodCall
at MethodCall.visit
at AstTranslator.translate
at Object.astToTypescript
at TcbEventHandlerTranslator.TcbExpressionTranslator.translate
at tcbEventHandlerExpression
at tcbCreateEventHandler
at TcbUnclaimedOutputsOp.execute
at Scope.executeOp
你对如何解决这个问题有什么建议吗?
非常感谢大家使用:
npm安装--save@fullcalendar/angular@fullcalendar/daygrid
这是fullcalendar
的新版本,旧版本已弃用
进一步参考:你能在这里发布代码吗?在从git下载fullcalendar后,你是否尝试过npm安装?是的,正如我没有安装npm的问题中所写的代码在链接上:)@BenTech我想你可以查看此链接。这将对您有所帮助。虽然此链接可以回答问题,但最好在此处包含答案的基本部分,并提供链接以供参考。如果链接页面发生更改,则仅链接的答案可能无效-