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

pod install fails #87

Open
ekkis opened this issue Mar 16, 2020 · 3 comments
Open

pod install fails #87

ekkis opened this issue Mar 16, 2020 · 3 comments

Comments

@ekkis
Copy link

ekkis commented Mar 16, 2020

I get 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.

but seems to work when I add the key to the package.json:

  "homepage": "http://"

what's odd is that if I look at the package on the repo it contains the required field but the file npm install puts on my project doesn't have it

@nnyath
Copy link

nnyath commented Mar 26, 2020

The current (0.4.2) version published to NPM is missing the inclusion of the homepage attribute from #75

The maintainer needs to release a new patch version (0.4.3) and publish that to NPM. There are workarounds -- using npm 6.x seems to resolve the issue automatically for me but yarn does not. You can also tell your package.json to install from the github repo instead of npm registry https://docs.npmjs.com/files/package.json#github-urls

@ekkis
Copy link
Author

ekkis commented Mar 27, 2020

@nnyath thanks for suggesting about the package.json. I can use that for other reasons. for now I'll leave this open until the maintainer fixes the issue

@shubhamtakode
Copy link

Im facing same issue

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