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

undefined is not a function (evaluating '_.merge(styles, this.props.style)') #2

Open
134564 opened this issue Apr 8, 2015 · 5 comments

Comments

@134564
Copy link

134564 commented Apr 8, 2015

RCTJSLog> "Error:
stack:
Markdown_componentWillMount index.ios.bundle:38986
mountComponent index.ios.bundle:16092
ReactCompositeComponent_mountComponent index.ios.bundle:4909
mountComponent index.ios.bundle:4978
mountChildren index.ios.bundle:19656
initializeChildren index.ios.bundle:17969
mountComponent index.ios.bundle:18123
mountComponent index.ios.bundle:4978
mountComponent index.ios.bundle:16110
ReactCompositeComponent_mountComponent index.ios.bundle:4909
mountComponent index.ios.bundle:4978
mountChildren index.ios.bundle:19656
initializeChildren index.ios.bundle:17969
mountComponent index.ios.bundle:18123
mountComponent index.ios.bundle:4978
mountComponent index.ios.bundle:16110
ReactCompositeComponent_mountComponent index.ios.bundle:4909
mountComponent index.ios.bundle:4978
mountComponent index.ios.bundle:16110
ReactCompositeComponent_mountComponent index.ios.bundle:4909
mountComponent index.ios.bundle:4978
mountChildren index.ios.bundle:19656
initializeChildren index.ios.bundle:17969
mountComponent index.ios.bundle:18123
mountComponent index.ios.bundle:4978
mountComponent index.ios.bundle:16110
ReactCompositeComponent_mountComponent index.ios.bundle:4909
mountComponent index.ios.bundle:4978
_mountChildByNameAtIndex index.ios.bundle:19864
_updateChildren index.ios.bundle:19770
updateChildren index.ios.bundle:19715
receiveComponent index.ios.bundle:18074
receiveComponent index.ios.bundle:5037
_updateRenderedComponent index.ios.bundle:16599
_performComponentUpdate index.ios.bundle:16578
updateComponent index.ios.bundle:16498
ReactCompositeComponent_updateComponent index.ios.bundle:4909
receiveComponent index.ios.bundle:16362
receiveComponent index.ios.bundle:5037
_updateRenderedComponent index.ios.bundle:16599
_performComponentUpdate index.ios.bundle:16578
updateComponent index.ios.bundle:16498
ReactCompositeComponent_updateComponent index.ios.bundle:4909
receiveComponent index.ios.bundle:16362
receiveComponent index.ios.bundle:5037
updateChildren index.ios.bundle:19976
_updateChildren index.ios.bundle:19741
updateChildren index.ios.bundle:19715
receiveComponent index.ios.bundle:18074
receiveComponent index.ios.bundle:5037
_updateRenderedComponent index.ios.bundle:16599
_performComponentUpdate index.ios.bundle:16578
updateComponent index.ios.bundle:16498
ReactCompositeComponent_updateComponent index.ios.bundle:4909
receiveComponent index.ios.bundle:16362
receiveComponent index.ios.bundle:5037
_updateRenderedComponent index.ios.bundle:16599
_performComponentUpdate index.ios.bundle:16578
updateComponent index.ios.bundle:16498
ReactCompositeComponent_updateComponent index.ios.bundle:4909
performUpdateIfNecessary index.ios.bundle:16395
performUpdateIfNecessary index.ios.bundle:5055
runBatchedUpdates index.ios.bundle:4614
perform index.ios.bundle:6041
perform index.ios.bundle:6041
perform index.ios.bundle:4558
flushBatchedUpdates index.ios.bundle:4638
ReactUpdates_flushBatchedUpdates index.ios.bundle:4909
closeAll index.ios.bundle:6114
perform index.ios.bundle:6055
batchedUpdates index.ios.bundle:13583
enqueueUpdate index.ios.bundle:4678
enqueueUpdate index.ios.bundle:4113
enqueueSetState index.ios.bundle:4291
setState index.ios.bundle:4020
index.ios.bundle:24146
index.ios.bundle:24082
invokeCallback index.ios.bundle:7437
applyWithGuard index.ios.bundle:877
guardReturn index.ios.bundle:7268
invokeCallbackAndReturnFlushedQueue index.ios.bundle:7450
URL: http://localhost:8081/index.ios.bundle
line: 38986
message: undefined is not a function (evaluating '
.merge(styles, this.props.style)')"
2015-04-08 19:53:34.290 testapp[26872:17479744] *** Assertion failure in -[RCTNavigator reactBridgeDidFinishTransaction], /Volumes/Untitled/jgyun/wedo/react-native/testapp/node_modules/react-native/React/Views/RCTNavigator.m:500

@lwansbrough
Copy link
Owner

Can you show me the code that creates the markdown?

@lwansbrough
Copy link
Owner

Cannot reproduce.

@cnberg
Copy link

cnberg commented Apr 13, 2015

I was using the example your provide, after your installation guide, and I also restart the npm server, got the same error.

@lwansbrough
Copy link
Owner

@cnberg Thanks, can you confirm what version of this module you're running?

@lwansbrough lwansbrough reopened this Apr 13, 2015
@lwansbrough
Copy link
Owner

@cnberg The reason why I ask what version you're using is because _.merge(styles, this.props.style) doesn't exist in the code base anymore.

ahanriat pushed a commit to azendoo/react-native-markdown that referenced this issue Jul 8, 2016
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

3 participants