【问题标题】:Cannot find module '@fullcalendar/interaction' or its corresponding type declarationsCannot find module \'@fullcalendar/interaction\' or its corresponding type declarations
【发布时间】:2022-12-27 11:03:24
【问题描述】:

Why the error crashes Cannot find module '@fullcalendar/interaction' or its corresponding type declarations.

although this package is definitely in node modules, it is in yarn.lock and in package json. What's wrong?

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';

in package 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",

angular 12v

any ideas?

【问题讨论】:

    标签: angular fullcalendar fullcalendar-5


    【解决方案1】:

    You must to install the other modules

    npm install @fullcalendar/core @fullcalendar/list @fullcalendar/timegrid @fullcalendar/interaction

    【讨论】:

      猜你喜欢
      • 2022-12-02
      • 2022-12-26
      • 2022-12-28
      • 2022-12-26
      • 2022-12-27
      • 2023-01-05
      • 2022-12-02
      • 2018-12-02
      • 2023-01-12
      相关资源
      最近更新 更多