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 broken #53

Closed
krapspark opened this issue Jun 14, 2016 · 2 comments
Closed

Example broken #53

krapspark opened this issue Jun 14, 2016 · 2 comments

Comments

@krapspark
Copy link

Hi,

I just checked out the repo and tried to run through the example.
The first npm install finishes OK.
But when I open the Xcode project and try to run it webserver complains about missing dependencies.
So I tried npm install again and I got bunch of compilation errors the second time around.

Here are the first few errors:

CXX(target) Release/obj.target/validation/src/validation.o
In file included from ../src/validation.cc:15:
../node_modules/nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local _NanEnsureLocal(v8::Local val) {
^
../node_modules/nan/nan.h:256:25: note: previous definition is here
NAN_INLINE v8::Local _NanEnsureLocal(v8::Handle val) {
^

Any idea on how I can fix this?
Thank you.

@erikdung
Copy link

Cannot build example!!
image
Please help

@burnsting
Copy link

burnsting commented Jun 28, 2016

Should this still work with RN 0.28? I'm getting a render error when adding the YouTube component. It used to work fine.

"Element type is invalid expected a string (for built-in components) or a class/function. Check the render method of ..."

EDIT: Never mind, changing ...

var YouTube = require('react-native-youtube');

to ...

import YouTube from 'react-native-youtube';

... fixed it.

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

4 participants