FullCalendar - Module not found
Posted: 01 May 2019, 21:52
Hey all,
maybe I just messed things up, but I have a problem with the calendar.
I am using PrimeNG 7.1.0 with FullCalendar 4.1.0
Here is what I did:
Starting the App I revieve the following error:
So I looked into the fullcalendar.js and changed line 41 from
to
Now I can start the App, but get a console error, when I open the calendarpage
maybe I just messed things up, but I have a problem with the calendar.
I am using PrimeNG 7.1.0 with FullCalendar 4.1.0
Here is what I did:
Code: Select all
console
npm install @fullcalendar/core --save
Code: Select all
app.module.ts
import { FullCalendarModule } from 'primeng/fullcalendar';
[...]
@NgModule({
imports: [ ...
FullCalendarModule,
...]
})
Code: Select all
html
<p-fullCalendar [events]="events"></p-fullCalendar>
Code: Select all
Failed to compile.
./node_modules/primeng/components/fullcalendar/fullcalendar.js
Module not found: Error: Can't resolve 'fullcalendar' in '[...]\ClientApp\node_modules\primeng\components\fullcalendar'
Code: Select all
var fullcalendar_1 = require("fullcalendar");
Code: Select all
var fullcalendar_1 = require("@fullcalendar/core");
Code: Select all
ERROR Error: No available FullCalendar view plugins.