小编Frm*_*sda的帖子

找不到模块“@fullcalendar/interaction”或其相应的类型声明

为什么错误崩溃无法找到模块“@fullcalendar/interaction”或其相应的类型声明。

虽然这个包肯定在节点模块中,但它在yarn.lock和包json中。怎么了?

ERROR in apps/frontend/src/app/app.module.ts:19:31 - error TS2307: Cannot find module '@fullcalendar/interaction' or its corresponding type declarations.

19 import interactionPlugin from '@fullcalendar/interaction';
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@fullcalendar/core/vdom.d.ts:1:25 - error TS2307: Cannot find module 'preact' or its corresponding type declarations.

1 import * as preact from 'preact';
Run Code Online (Sandbox Code Playgroud)

相互作用

预反应

在 json 包中

"@fullcalendar/angular": "^5.11.2",
"@fullcalendar/core": "5.11.3",
"@fullcalendar/daygrid": "5.11.3",
"@fullcalendar/interaction": "5.11.3",
"@fullcalendar/list": "5.11.3",
"@fullcalendar/timegrid": "5.11.3",
Run Code Online (Sandbox Code Playgroud)

角12v

有任何想法吗?

fullcalendar angular fullcalendar-5

0
推荐指数
1
解决办法
3937
查看次数

标签 统计

angular ×1

fullcalendar ×1

fullcalendar-5 ×1