Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
null is not an object (evaluating 'process.version.match ...) #8
I am trying to use PlayFab's Node SDK from react-native and this library would help. I am testing with Android now.
After installing, the missing url and https modules are found but still one issue remains please help me.
The line of code that makes the error is https://github.com/PlayFab/NodeSDK/blob/master/PlayFabSdk/Scripts/PlayFab/PlayFab.js#L40 and it seeems process (or process.version) is null.
Do you know some workaround?
btw, if the process.version is empty string the match will fail and lead to out-of-bound error.
I found the error comes from this because the error is gone with this code.
The empty value form the node-process library needs overwriting in this case.
What's the error you're getting exactly?
Sounds like this library isn't really compatible with React Native because it depends on checking