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

TypeError: undefined is not an object (evaluating 'process.version.split') #3

Open
sleep9 opened this issue Feb 6, 2024 · 0 comments
Assignees

Comments

@sleep9
Copy link

sleep9 commented Feb 6, 2024

Getting this breaking error. App works when not importing your bip39 library. Does this lib support iOS?

TypeError: undefined is not an object (evaluating 'process.version.split')

{
"name": "js-libp2p-react-native",
"version": "1.0.0",
"scripts": {
"start": "expo start --dev-client",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web"
},
"dependencies": {
"@azure/core-asynciterator-polyfill": "^1.0.2",
"@chainsafe/libp2p-gossipsub": "^11.2.0",
"@chainsafe/libp2p-noise": "^14.0.0",
"@chainsafe/libp2p-yamux": "^6.0.1",
"@craftzdog/react-native-buffer": "^6.0.5",
"@kitzen/react-native-bip39": "^0.0.8",
"@libp2p/bootstrap": "^10.0.7",
"@libp2p/circuit-relay-v2": "^1.0.7",
"@libp2p/identify": "^1.0.6",
"@libp2p/kad-dht": "^11.0.7",
"@libp2p/mplex": "^10.0.13",
"@libp2p/pubsub-peer-discovery": "^10.0.2",
"@libp2p/tcp": "^9.0.7",
"@libp2p/webrtc": "^4.0.10",
"@libp2p/websockets": "^8.0.13",
"@peculiar/webcrypto": "^1.4.4",
"@react-native-async-storage/async-storage": "^1.21.0",
"@react-native-masked-view/masked-view": "^0.3.1",
"@react-navigation/native-stack": "^6.9.17",
"@react-navigation/stack": "^6.3.20",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.16",
"@types/react": "^18.2.54",
"@types/react-dom": "^18.2.18",
"crypto-browserify": "^3.12.0",
"event-target-shim": "^6.0.2",
"events": "^3.3.0",
"expo": "~49.0.15",
"expo-dev-client": "^2.4.12",
"expo-dev-menu": "^3.2.2",
"expo-splash-screen": "^0.22.0",
"expo-status-bar": "^1.7.1",
"libp2p": "^1.0.10",
"native-base": "^3.4.28",
"os-browserify": "^0.3.0",
"path-browserify": "^1.0.1",
"process": "^0.11.10",
"react": "18.2.0",
"react-native": "0.72.6",
"react-native-gesture-handler": "^2.14.1",
"react-native-get-random-values": "^1.10.0",
"react-native-keychain": "^8.1.2",
"react-native-quick-crypto": "^0.6.1",
"react-native-safe-area-context": "^4.9.0",
"react-native-screens": "^3.29.0",
"react-native-snap-carousel": "^3.9.1",
"react-native-svg": "^14.1.0",
"react-native-tcp-socket": "^6.0.6",
"react-native-url-polyfill": "^2.0.0",
"stream-browserify": "^3.0.0",
"text-encoding": "^0.7.0",
"typescript": "^5.3.3",
"weakmap-polyfill": "^2.0.4"
},
"dependencies": {
"react-native-crypto": "",
"react-native-randombytes": "
"
},
"resolutions": {
"@kitzen/react-native-bip39/react-native-crypto/pbkdf2": "3.1.2",
"@kitzen/react-native-bip39/react-native-crypto/public-encrypt/parse-asn1/pbkdf2": "3.1.2",
"@kitzen/react-native-bip39/react-native-random-bytes/buffer": "^6.0.3"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/plugin-transform-private-methods": "^7.23.3"
},
"private": true
}

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