I'm sharing a demo application with the latest version of SchedulerPro and with that configuration that Alex shared and it's working correctly, perhaps you could adapt this demo with your configuration to check what is causing that error to be triggered?
Looking at your implementation I don't see anything that pokes out at me, and I even used your config in place of mine. I do notice that you guys are using js, and not typescript. Not sure if that would be something that would cause an issue. It wont let me build your app to convert it to TS to check. So the closest I have is to take your config file, and its still giving me the same error. Also, one thing that I notice is that even if I just declare a variable const stateProvider = StateProvider.setup('local'), and don't use it it still crashes the app, so I am not sure that this is an issue with the configuration of the app.
Hey, I'm sharing a Typescript project with the state provider, please notice the version of the libs, but this one is also working without that error that you mentioned.
If this doesn't work out, we would like to ask you to share a sample project with that error happening on your side for us to check.