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

Error while following install and example instructions #81

Closed
vgrafe opened this issue Jan 21, 2020 · 3 comments
Closed

Error while following install and example instructions #81

vgrafe opened this issue Jan 21, 2020 · 3 comments

Comments

@vgrafe
Copy link

vgrafe commented Jan 21, 2020

Hi!

I just installed Expo, ejected, then installed this module and linked it. Problem is, when calling the start method, the following error happens (while debugging on iphone): Unhandled promise rejection: TypeError: null is not an object (evaluating 'FPStaticServer.start').

I checked and, indeed, FPStaticServer is not defined in the module. I tried to import it myself but not to avail. No sign if it either in the react-native types file, so I assume some error happened when it was supposed to be dynamically linked in the native modules, but I have no error messages displayed when installing/linking it.

Thanks for helping!

@vgrafe
Copy link
Author

vgrafe commented Jan 22, 2020

More info - I tried again using a bare RN project.

After installing and linking react-native-static-server, I tried running pod install and got the following error:

[!] The `react-native-static-server` pod failed to validate due to 1 error:
    - ERROR | attributes: Missing required attribute `homepage`.
    - WARN  | source: Git sources should specify a tag.
    - WARN  | description: The description is equal to the summary.

@vgrafe
Copy link
Author

vgrafe commented Jan 22, 2020

OK I just looked at the PRs, and saw that this bug is addressed by #75.

@trollepierre
Copy link

this PR can be closed, no?

@vgrafe vgrafe closed this as completed Apr 8, 2022
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