Skip to content

Error using version 12 in child #387

Open

Description

@gzayat

We have an error that started in version 12.

I have a component that uses the service to emit messages, the build of this component is generated into a larger 'parent' component, ie it is in node_modules, this parent component after compiled is issuing the following error.

This does not happen in version 9

error

Activity

  1. Guerric-P commented on Nov 13, 2021

    @Guerric-P
    Collaborator

    Can you share a minimum reproducible example? According to the official docs the forRoot pattern is still the standard pattern to provide a service from a library. I don't really get what could be wrong here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions