Unable to use Mobiscroll with the latest Angular version

Hi!

I wanted to see if the fix for this issue was working.

I created a new Angular v18 project with the following command (this will create a new Angular project with the latest version using the bundler module resolution):

npx @angular/cli@latest new test-app

Then I installed Mobiscroll version 5.30.0.

Finally I changed the app.component.ts to look like this:

import { Component } from '@angular/core';
import { MbscEventcalendarModule } from '@mobiscroll/angular-ivy';

@Component({
  selector: 'app-root',
  standalone: true,
  imports: [
    MbscEventcalendarModule,
  ],
  template: `<mbsc-eventcalendar/>`
})
export class AppComponent {

}

I haven’t added the styles because I just wanted to see if the project compiles correctly.

When I run the command ng build, I get the following error:

TS2305: Module '"@mobiscroll/angular-ivy"' has no exported member 'MbscEventcalendarModule'. [plugin angular-compiler]

Hi @Josep_Ponsati

Thanks for letting us know! We are working on fix on this issue and let you know once a solution is out!

1 Like

Hello @Josep_Ponsati :wave:

Good news: we have shipped Mobiscroll 5.30.1, where we fixed the Angular package to work with Angular 18.

Here you can find a guide on how you can update the Mobiscroll version to the latest: Welcome to the Mobiscroll Docs | Mobiscroll Documentation.