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

IOS not running #30

Open
EliaSemprebon opened this issue Oct 21, 2021 · 1 comment
Open

IOS not running #30

EliaSemprebon opened this issue Oct 21, 2021 · 1 comment

Comments

@EliaSemprebon
Copy link

The app is not running on ios while it was running correctly on Android.
The ERROR is: null is not an object (evaluating 'Server.start').

Could you get any solution?

@trollepierre
Copy link

I get the same error, saying.

Apparently, NativeModules is equal to {}

in httpServer.js, I saw:

import {NativeModules} from 'react-native';

var Server = NativeModules.HttpServer;

      Server.start(port, serviceName);

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

2 participants