my project is a new empty react native project. everything is cool at the time of build,
There seems to be some issue with latest react native version.
Create the project with below command.
react-native init --version="0.54.0" ProjectName
It will surely work.