Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Error when running hello world in production mode #963

Closed
mvuksano opened this issue Apr 27, 2014 · 0 comments
Closed

Error when running hello world in production mode #963

mvuksano opened this issue Apr 27, 2014 · 0 comments

Comments

@mvuksano
Copy link
Contributor

Running hello world sample using pub serve fails with the following exception

Illegal argument(s): No type factory provided for ShadowDomComponentFactory! (resolving DirectiveMap -> DirectiveSelectorFactory -> ElementBinderFactory -> ComponentFactory)

STACKTRACE:
Error
    at dart.wrapException (http://localhost:8080/hello_world.dart.js:2391:15)
    at StaticInjector.newInstanceOf$4 (http://localhost:8080/hello_world.dart.js:31100:17)
    at TypeProvider.get$4 (http://localhost:8080/hello_world.dart.js:31065:23)
    at StaticInjector.BaseInjector.getInstanceByKey$3 (http://localhost:8080/hello_world.dart.js:30829:24)
    at StaticInjector_newInstanceOf_closure.<anonymous> (http://localhost:8080/hello_world.dart.js:31116:32)
    at StaticInjector_newInstanceOf_closure.call$2 [as call$1] (http://localhost:8080/hello_world.dart.js:31118:19)
    at closure186.call$1 (http://localhost:8080/hello_world.dart.js:16692:109)
    at StaticInjector.newInstanceOf$4 (http://localhost:8080/hello_world.dart.js:31101:26)
    at TypeProvider.get$4 (http://localhost:8080/hello_world.dart.js:31065:23)
    at StaticInjector.BaseInjector.getInstanceByKey$3 (http://localhost:8080/hello_world.dart.js:30829:24) 
mvuksano added a commit to mvuksano/angular.dart that referenced this issue Apr 27, 2014
@Injectable so that appropriate entry in static factories in generated.

Closes dart-archive#963
mvuksano added a commit that referenced this issue Apr 30, 2014
@Injectable so that appropriate entry in static factories in generated.

Closes #963
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant