fix process is not defined
in react-native
#526
Merged
process is not defined
in react-native
#526