Discourse User Notes

When rebulding Discourse I get the following error:

rake aborted!
ArgumentError: Invalid route name, already in use: 'discourse_user_notes'  (ArgumentError)
You may have defined two routes with the same name using the `:as` option, or you may be overriding a route already defined by a resource with the same naming. For the latter, you can restrict the routes created with `resources` as explained here:
https://guides.rubyonrails.org/routing.html#restricting-the-routes-created
          raise ArgumentError, "Invalid route name, already in use: '#{name}' \n" \

I understood that discourse_user_notes is now included in the core. Did something go wrong in this process?