Frm*_*sda 0 fullcalendar angular fullcalendar-5
为什么错误崩溃无法找到模块“@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
有任何想法吗?
小智 5
您还必须安装其他模块:
npm install @fullcalendar/core @fullcalendar/list @fullcalendar/timegrid @fullcalendar/interaction
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3937 次 |
| 最近记录: |