search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Version no of Angular 13 DayPilot proversion?

Asked by Akhtar Raza
2 years ago.

I'm using the DayPilot pro version in my application. Now I upgraded my angular version to 13. Can you tell me what version will matche with Angular 13?

Comment posted by Dan Letecky [DayPilot]
2 years ago.

Angular 13 is supported since version 2021.4.5151:

https://javascript.daypilot.org/daypilot-pro-for-javascript-2021-4-5151/

Comment posted by Akhtar Raza
2 years ago.

Thanks for your reply.
Now I'm getting the below error.

Uncaught Error: Type DayPilotModule does not have 'ɵmod' property.
at getNgModuleDef (vendor.js:71913:15)
at recurse (vendor.js:92587:21)
at recurse (vendor.js:92598:17)
at registerNgModuleType (vendor.js:92583:5)
at new NgModuleFactory (vendor.js:92705:13)
at compileNgModuleFactory (vendor.js:96742:27)
at PlatformRef.bootstrapModule (vendor.js:96987:16)
at 4431 (main.js:897:74)
at __webpack_require__ (runtime.js:23:42)
at __webpack_exec__ (main.js:905:48)

I added this to my module. I added in export also but got the same error.

@NgModule({
declarations: [
AppComponent,
HeaderComponent,
SidebarComponent,
DashbaordComponent,
ProjectsComponent,
ProjectDetailsComponent,
],
imports: [
BrowserModule,
AppRoutingModule,
NgbModule,
DayPilotModule
],

Comment posted by Dan Letecky [DayPilot]
2 years ago.

If you upgrade an existing project to a higher Angular version, it sometimes results in weird errors. You can try this:

1. Delete node_modules and run "npm install" again.
2. Upgrade to the latest DayPilot Pro version (2022.4.5442). Since version 2022.2.5332, DayPilot uses Ivy engine and an upgraded package format.
3. If that doesn't help, migrate your project by creating a new Angular 13 project and copying your source files over (instead of reusing the old project).

Comment posted by Akhtar Raza
2 years ago.

I created a fresh project with Angular 13. The old project is on Angular 12 and working fine. but for a new project, I'm doing it from scratch with Angular 13. But still getting errors.

Comment posted by Dan Letecky [DayPilot]
2 years ago.

Do you use the latest DayPilot Pro version (2022.4.5442)? Do you use the latest Angular 13 version (13.3.9)?

Comment posted by Akhtar Raza
2 years ago.

Yes, I'm using the latest 13.3.9.

Answer posted by Akhtar Raza
2 years ago.

Thanks, it's worked with latest DayPilot version.

Comment posted by Dan Letecky [DayPilot]
2 years ago.

Great, thanks for the update!

Comment posted by Akhtar Raza
2 years ago.

Everything working fine, But I'm getting 'Demo' written on the top corner left.

Comment posted by Akhtar Raza
2 years ago.

I'm using the pro version of Daypilot and I have licensed for it.

Comment posted by Dan Letecky [DayPilot]
2 years ago.

You can get a NPM link for the full version in the customer area:

https://www.daypilot.org/customers/

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.