PLASMIC registerComponent not a function

I get an error for @plasmicapp/loader-nextjs: Error [TypeError]: PLASMIC.registerComponent is not a function
Last stable working for me is: 1.0.186

Do you have other @plasmicapp packages included in your project?

Ok my bad, I was using the new app function and didnt knew that I had to register them inside if plasmic-init-client instead of plasmic-init