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

support react 16 #79

Open
capaj opened this issue Sep 15, 2017 · 0 comments
Open

support react 16 #79

capaj opened this issue Sep 15, 2017 · 0 comments

Comments

@capaj
Copy link

capaj commented Sep 15, 2017

currently when I run it with 16, I get the two typeErrors:

dom-parse.js:7 Uncaught (in promise) TypeError: Cannot read property 'router' of undefined
    at parser (dom-parse.js:7)
    at Promise (inject.js:69)
    at new Promise (<anonymous>)
    at throttle (inject.js:61)
    at setTimeout (inject.js:42)
parser @ dom-parse.js:7
Promise @ inject.js:69
throttle @ inject.js:61
setTimeout @ inject.js:42
Promise rejected (async)
setTimeout @ inject.js:43
setTimeout (async)
startTraverse @ inject.js:41
injector @ inject.js:11
_callee2$ @ EventDetail.js:38
tryCatch @ runtime.js:65
invoke @ runtime.js:303
prototype.(anonymous function) @ runtime.js:117
step @ EventDetail.js:21
(anonymous) @ EventDetail.js:21
(anonymous) @ EventDetail.js:21
componentWillMount @ EventDetail.js:41
(anonymous) @ index.js:524
callComponentWillMount @ react-dom.development.js:9789
mountClassInstance @ react-dom.development.js:9846
updateClassComponent @ react-dom.development.js:10228
beginWork @ react-dom.development.js:10612
performUnitOfWork @ react-dom.development.js:12581
workLoop @ react-dom.development.js:12690
callCallback @ react-dom.development.js:1309
e._wrapped @ main.js?_=1505482008287:1
invokeGuardedCallbackDev @ react-dom.development.js:1348
invokeGuardedCallback @ react-dom.development.js:1205
performWork @ react-dom.development.js:12808
scheduleUpdateImpl @ react-dom.development.js:13193
scheduleUpdate @ react-dom.development.js:13132
scheduleTopLevelUpdate @ react-dom.development.js:13417
updateContainer @ react-dom.development.js:13447
(anonymous) @ react-dom.development.js:17137
unbatchedUpdates @ react-dom.development.js:13274
renderSubtreeIntoContainer @ react-dom.development.js:17136
render @ react-dom.development.js:17151
controller.class_1.render @ index.js:51
./node_modules/ngcomponent/index.js.NgComponent.$onChanges @ index.js:25
(anonymous) @ angular.js:9502
forEach @ angular.js:333
nodeLinkFn @ angular.js:9498
compositeLinkFn @ angular.js:8810
publicLinkFn @ angular.js:8690
link @ angular-route.js:1065
(anonymous) @ angular.js:1259
invokeLinkFn @ angular.js:10152
nodeLinkFn @ angular.js:9551
compositeLinkFn @ angular.js:8810
publicLinkFn @ angular.js:8690
lazyCompilation @ angular.js:9047
boundTranscludeFn @ angular.js:8827
controllersBoundTransclude @ angular.js:9601
update @ angular-route.js:1014
$broadcast @ angular.js:18320
(anonymous) @ angular-route.js:653
processQueue @ angular.js:16696
(anonymous) @ angular.js:16712
$eval @ angular.js:17994
$digest @ angular.js:17808
$apply @ angular.js:18102
(anonymous) @ angular.js:13946
dispatch @ jquery.js:4737
elemData.handle @ jquery.js:4549
dom-parse.js:7 Uncaught TypeError: Cannot read property 'router' of undefined
    at parser (dom-parse.js:7)
    at setTimeout (inject.js:66)
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