GithubHelp home page GithubHelp logo

Comments (3)

AndrewKushnir avatar AndrewKushnir commented on July 20, 2024 1

@IgorKurkov thanks for reporting this issue. Could you please create a minimal reproduction scenario (in a form of a Github repository), so that we can perform further investigation?

from angular.

montella1507 avatar montella1507 commented on July 20, 2024

Have the same problem... still cannot simulate in minimal reproduction :-/

It may be somehow connected to components created dynamically and lazily with viewContainer.createComponent()

It is strange.

  1. Token is EditorStore class
  2. this.parent.parent.parent.source is EditorComponent, which is "singleton" in applicartion
  3. EditorComponent provides that EditorStore class
  4. EditorComponent HAS that editorStore class, when i check it with ng.getComponent()
image image

Have to mention.. is id dynamically created tree via:

  1. dynamic component import('@...).then(x=>x.Type)
  2. created with container.createComponent(type, { injector: this.injector })

from angular.

montella1507 avatar montella1507 commented on July 20, 2024

@AndrewKushnir do you think it is possible that the inheritance may be problem?

I got this error:
Error: NullInjectorError: No provider for EditorStore!

However... EditorStore is there... in that component.

from angular.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.