-1

I am using a full calendar npm package using angular. I am getting the following error.

Type FullCalendarModule does not have 'ɵmod' property.

Full calendar

Kamran Khan
  • 1,042
  • 10
  • 21
Tauseef Arshad
  • 583
  • 5
  • 13
  • Update your typescript version and check if it resolves? – mak15 Dec 23 '21 at 15:34
  • I vaguely remember an issue like this. I think you have to add `"postinstall": "ngcc"` to the scripts property of the package.json. ngcc is Angular's compatibility compiler. – dj11223344 Dec 23 '21 at 15:43

1 Answers1

1

The following steps fixed the problem for me:

  • rm -rf node_modules
  • npm install
  • adding "postinstall": "ngcc" to package.json scripts
"scripts": { "postinstall": "ngcc" }
teranshil
  • 109
  • 1
  • 6