question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERROR Error: StaticInjectorError[t -> t]:

See original GitHub issue

Since disabling the tour didn’t fix this, am creating a new issue to track it separately and consolidate the previous issues that were closed with the PR merge.

ERROR Error: StaticInjectorError[t -> t]: 
  StaticInjectorError(Platform: core)[t -> t]: 
    NullInjectorError: No provider for t!
    at t.get (main.d18da4935f56d031b283.bundle.js:1)
    at main.d18da4935f56d031b283.bundle.js:1
    at t (main.d18da4935f56d031b283.bundle.js:1)
    at t.get (main.d18da4935f56d031b283.bundle.js:1)
    at main.d18da4935f56d031b283.bundle.js:1
    at t (main.d18da4935f56d031b283.bundle.js:1)
    at t.get (main.d18da4935f56d031b283.bundle.js:1)
    at Ai (main.d18da4935f56d031b283.bundle.js:1)
    at t.get (main.d18da4935f56d031b283.bundle.js:1)
    at Ai (main.d18da4935f56d031b283.bundle.js:1)
Ct @ main.d18da4935f56d031b283.bundle.js:1
t.handleError @ main.d18da4935f56d031b283.bundle.js:1
(anonymous) @ main.d18da4935f56d031b283.bundle.js:1
t.invoke @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
e.run @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
t.runOutsideAngular @ main.d18da4935f56d031b283.bundle.js:1
t.tick @ main.d18da4935f56d031b283.bundle.js:1
(anonymous) @ main.d18da4935f56d031b283.bundle.js:1
t.invoke @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
onInvoke @ main.d18da4935f56d031b283.bundle.js:1
t.invoke @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
e.run @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
t.run @ main.d18da4935f56d031b283.bundle.js:1
next @ main.d18da4935f56d031b283.bundle.js:1
e.object.i @ main.d18da4935f56d031b283.bundle.js:1
e.__tryOrUnsub @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
e.next @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
e._next @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
e.next @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
e.next @ main.d18da4935f56d031b283.bundle.js:1
e.emit @ main.d18da4935f56d031b283.bundle.js:1
He @ main.d18da4935f56d031b283.bundle.js:1
ze @ main.d18da4935f56d031b283.bundle.js:1
onInvokeTask @ main.d18da4935f56d031b283.bundle.js:1
t.invokeTask @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
e.runTask @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
e.invokeTask @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
_ @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
g @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
XMLHttpRequest.send (async)
(anonymous) @ VM195256:1
b @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
t.scheduleTask @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
onScheduleTask @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
t.scheduleTask @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
e.scheduleTask @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
e.scheduleMacroTask @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
d @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
(anonymous) @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
R.i.(anonymous function) @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
(anonymous) @ main.d18da4935f56d031b283.bundle.js:1
t._trySubscribe @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
t.subscribe @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
t.call @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
t.subscribe @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
t.call @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
t.subscribe @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
t.call @ main.d18da4935f56d031b283.bundle.js:1
t.subscribe @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
C @ main.d18da4935f56d031b283.bundle.js:1
Fe @ main.d18da4935f56d031b283.bundle.js:1
e @ main.d18da4935f56d031b283.bundle.js:1
t.list @ main.d18da4935f56d031b283.bundle.js:1
t.loadAll @ main.d18da4935f56d031b283.bundle.js:1
n.ngOnInit @ 2.0b5da4db55b8ff5d9029.chunk.js:1
(anonymous) @ main.d18da4935f56d031b283.bundle.js:1
(anonymous) @ main.d18da4935f56d031b283.bundle.js:1
Jo @ main.d18da4935f56d031b283.bundle.js:1
ws @ main.d18da4935f56d031b283.bundle.js:1
(anonymous) @ 2.0b5da4db55b8ff5d9029.chunk.js:1
updateDirectives @ main.d18da4935f56d031b283.bundle.js:1
Ko @ main.d18da4935f56d031b283.bundle.js:1
is @ main.d18da4935f56d031b283.bundle.js:1
rs @ main.d18da4935f56d031b283.bundle.js:1
Ko @ main.d18da4935f56d031b283.bundle.js:1
is @ main.d18da4935f56d031b283.bundle.js:1
rs @ main.d18da4935f56d031b283.bundle.js:1
Ko @ main.d18da4935f56d031b283.bundle.js:1
is @ main.d18da4935f56d031b283.bundle.js:1
ns @ main.d18da4935f56d031b283.bundle.js:1
Ko @ main.d18da4935f56d031b283.bundle.js:1
t.detectChanges @ main.d18da4935f56d031b283.bundle.js:1
(anonymous) @ main.d18da4935f56d031b283.bundle.js:1
t.tick @ main.d18da4935f56d031b283.bundle.js:1
(anonymous) @ main.d18da4935f56d031b283.bundle.js:1
t.invoke @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
onInvoke @ main.d18da4935f56d031b283.bundle.js:1
t.invoke @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
e.run @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
t.run @ main.d18da4935f56d031b283.bundle.js:1
next @ main.d18da4935f56d031b283.bundle.js:1
e.object.i @ main.d18da4935f56d031b283.bundle.js:1
e.__tryOrUnsub @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
e.next @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
e._next @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
e.next @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
e.next @ main.d18da4935f56d031b283.bundle.js:1
e.emit @ main.d18da4935f56d031b283.bundle.js:1
He @ main.d18da4935f56d031b283.bundle.js:1
onHasTask @ main.d18da4935f56d031b283.bundle.js:1
t.hasTask @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
t._updateTaskCount @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
e._updateTaskCount @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
e.runTask @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
v @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
e.invokeTask @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
_ @ polyfills.4b47010fa12e595e9f8e.bundle.js:1
g @ polyfills.4b47010fa12e595e9f8e.bundle.js:1

follow on from #1407 #1404

@rhuss @deeleman FYI

This also reproduces when using a dev build with AOT enabled.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:17 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
gashcrumbcommented, Feb 6, 2018

@deeleman am kinda tempted anyway to open a PR with this work anyways, I kinda like how this reduces third party imports to it’s own module, thoughts?

0reactions
gashcrumbcommented, Feb 8, 2018

@seanforyou23 fixed this, should be all set…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uncaught (in promise): NullInjectorError: StaticInjectorError ...
Error i got : core.js:6014 ERROR Error: Uncaught (in promise): NullInjectorError: StaticInjectorError(AppModule)[Dropdown -> FilterService]:
Read more >
StaticInjectorError(ro): No Provider for | Angular : ng build --prod
Fix Error : NullInjectorError: StaticInjectorError (ro): No Provider for | Angular : ng build --prod. Watch later. Share. Copy link.
Read more >
NullInjectorError: No provider for l #8811 | Support Center
Hi, The following error only occcurs in the server (is hosted in a IIS Application), ... ERROR NullInjectorError: StaticInjectorError[l -> l]:.
Read more >
Angular 7 StaticInjectorError NullInjectorError: No provider for ...
I am circling back to a problem I encountered a while ago and didn't have ... (object): Error: StaticInjectorError(AppModule)[NavigationService -> Router]:
Read more >
Fixing NullInjectorError: No provider for HttpClient - Upmostly
This is such a simple error but one that catches me out on every single new project it seems. The full error is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found