Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example not working #10

Open
Akorius opened this issue Mar 27, 2021 · 0 comments
Open

Example not working #10

Akorius opened this issue Mar 27, 2021 · 0 comments

Comments

@Akorius
Copy link

Akorius commented Mar 27, 2021

I am running your test application, but it doesn't work.

flutter (31735): β”‚ πŸ› Initiated InjectorIO in mode: InjectorMode.DEBUG
I/flutter (31735): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (31735): β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
I/flutter (31735): β”‚ #0   DefinitionRegistry._log (package:injectorio/src/bean_registry.dart:83:44)
I/flutter (31735): β”‚ #1   DefinitionRegistry._showInstanceNotFound (package:injectorio/src/bean_registry.dart:91:7)
I/flutter (31735): β”œβ”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„
I/flutter (31735): β”‚ πŸ› InjectorIO:::	!!!--- Instance of type CountriesWebService not found ---!!!
I/flutter (31735): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
E/flutter (31735): [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: Exception: Instance of CountriesWebService not found. Make sure you added
E/flutter (31735):         it by using module or with [single()], [factory()] definition.
E/flutter (31735): #0      DefinitionRegistry.get (package:injectorio/src/bean_registry.dart:60:7)
E/flutter (31735): #1      get (package:injectorio/src/component_binder.dart:22:24)
E/flutter (31735): #2      get (package:injectorio/injectorio.dart:9:15)
E/flutter (31735): #3      new AppModule (package:example/main.dart:24:34)
E/flutter (31735): #4      main (package:example/main.dart:30:12)
E/flutter (31735): #5      _runMainZoned.<anonymous closure>.<anonymous closure> (dart:ui/hooks.dart:140:25)
E/flutter (31735): #6      _rootRun (dart:async/zone.dart:1354:13)
E/flutter (31735): #7      _CustomZone.run (dart:async/zone.dart:1258:19)
E/flutter (31735): #8      _runZoned (dart:async/zone.dart:1788:10)
E/flutter (31735): #9      runZonedGuarded (dart:async/zone.dart:1776:12)
E/flutter (31735): #10     _runMainZoned.<anonymous closure> (dart:ui/hooks.dart:133:5)
E/flutter (31735): #11     _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:283:19)
E/flutter (31735): #12     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
E/flutter (31735): 
I/assango.exampl(31735): ProcessProfilingInfo new_methods=310 is saved saved_to_disk=1 resolve_classes_delay=8000
W/BpBinder(31735): Slow Binder: BpBinder transact took 302 ms, interface=android.ui.ISurfaceComposer, code=8 oneway=false
W/Looper  (31735): Slow Looper main: doFrame is 337ms late because of 2 msg, msg 1 took 336ms (seq=25 running=8ms runnable=19ms late=6ms h=android.app.ActivityThread$H w=137)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant