expo-web3 icon indicating copy to clipboard operation
expo-web3 copied to clipboard

hey, is this still even working or any chance it has a chance to shine? :)

Open Hiti3 opened this issue 5 years ago • 0 comments

So I have tried to decode the whole web finding the one solution that will work with RN & expo and I must say I am disappointed I havent found a solution that would actually work connecting to a master eth node with Web3 lib. I have found your lib and gave it atry, straight of the bat I get the following problems, might know why and do I have to eject?

Thank you for any info you can throw. Would this app be possible to be done with React instead of RN and make it a progressive web app?

`Warning: The provided value 'ms-stream' is not a valid 'responseType'.

  • node_modules\react-native\Libraries\LogBox\LogBox.js:173:8 in registerError
  • node_modules\react-native\Libraries\LogBox\LogBox.js:59:8 in errorImpl
  • node_modules\react-native\Libraries\LogBox\LogBox.js:33:4 in console.error
  • node_modules\expo\build\environment\react-native-logs.fx.js:27:4 in error
  • node_modules\fbjs\lib\warning.js:30:4 in printWarning
  • node_modules\fbjs\lib\warning.js:51:4 in
  • node_modules\react-native\Libraries\Network\XMLHttpRequest.js:187:13 in set__responseType
  • node_modules\stream-http\lib\capability.js:41:5 in checkTypeSupport
  • node_modules\stream-http\lib\capability.js:55:59 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • http://127.0.0.1:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:233966:30 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • http://127.0.0.1:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:233921:33 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • http://127.0.0.1:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:233331:24 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • http://127.0.0.1:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:233284:22 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • http://127.0.0.1:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:233164:24 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • node_modules\web3-core-requestmanager\lib\index.js:45:23 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • http://127.0.0.1:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:210821:34 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • http://127.0.0.1:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:210666:24 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • http://127.0.0.1:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:210002:24 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • http://127.0.0.1:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:134126:54 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • http://127.0.0.1:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:128718:57 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • node_modules\expo\AppEntry.js:3:0 in
  • ... 4 more stack frames from framework internals

Warning: The provided value 'moz-chunked-arraybuffer' is not a valid 'responseType'.

  • node_modules\react-native\Libraries\LogBox\LogBox.js:173:8 in registerError
  • node_modules\react-native\Libraries\LogBox\LogBox.js:59:8 in errorImpl
  • node_modules\react-native\Libraries\LogBox\LogBox.js:33:4 in console.error
  • node_modules\expo\build\environment\react-native-logs.fx.js:27:4 in error
  • node_modules\fbjs\lib\warning.js:30:4 in printWarning
  • node_modules\fbjs\lib\warning.js:51:4 in
  • node_modules\react-native\Libraries\Network\XMLHttpRequest.js:187:13 in set__responseType
  • node_modules\stream-http\lib\capability.js:41:5 in checkTypeSupport
  • node_modules\stream-http\lib\capability.js:59:0 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • http://127.0.0.1:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:233966:30 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • http://127.0.0.1:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:233921:33 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • http://127.0.0.1:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:233331:24 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • http://127.0.0.1:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:233284:22 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • http://127.0.0.1:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:233164:24 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • node_modules\web3-core-requestmanager\lib\index.js:45:23 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • http://127.0.0.1:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:210821:34 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • http://127.0.0.1:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:210666:24 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • http://127.0.0.1:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:210002:24 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • http://127.0.0.1:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:134126:54 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • http://127.0.0.1:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:128718:57 in
  • node_modules\metro\src\lib\polyfills\require.js:321:11 in loadModuleImplementation
  • node_modules\expo\AppEntry.js:3:0 in
  • ... 4 more stack frames from framework internals

Unable to start your application. Please refer to https://expo.fyi/no-registered-application for more information.

  • node_modules\react-native\Libraries\LogBox\LogBox.js:117:10 in registerWarning
  • node_modules\react-native\Libraries\LogBox\LogBox.js:63:8 in warnImpl
  • node_modules\react-native\Libraries\LogBox\LogBox.js:36:4 in console.warn
  • node_modules\expo\build\environment\react-native-logs.fx.js:18:4 in warn
  • node_modules\react-native\Libraries\ReactNative\AppRegistry.js:200:6 in runApplication
  • node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:416:4 in __callFunction
  • node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:109:6 in __guard$argument_0
  • node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:364:10 in __guard
  • node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:108:4 in callFunctionReturnFlushedQueue
  • [native code]:null in callFunctionReturnFlushedQueue

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

  • node_modules\react-native\Libraries\LogBox\LogBox.js:148:8 in registerError
  • node_modules\react-native\Libraries\LogBox\LogBox.js:59:8 in errorImpl
  • node_modules\react-native\Libraries\LogBox\LogBox.js:33:4 in console.error
  • node_modules\expo\build\environment\react-native-logs.fx.js:27:4 in error
  • node_modules\react-native\Libraries\Core\ExceptionsManager.js:104:6 in reportException
  • node_modules\react-native\Libraries\Core\ExceptionsManager.js:171:19 in handleException
  • node_modules\react-native\Libraries\Core\setUpErrorHandling.js:24:6 in handleError
  • node_modules\expo-error-recovery\build\ErrorRecovery.fx.js:9:32 in ErrorUtils.setGlobalHandler$argument_0
  • node_modules\regenerator-runtime\runtime.js:63:36 in tryCatch
  • node_modules\regenerator-runtime\runtime.js:293:29 in invoke
  • node_modules\regenerator-runtime\runtime.js:63:36 in tryCatch
  • node_modules\regenerator-runtime\runtime.js:154:27 in invoke
  • node_modules\regenerator-runtime\runtime.js:164:18 in PromiseImpl.resolve.then$argument_0
  • node_modules\react-native\node_modules\promise\setimmediate\core.js:37:13 in tryCallOne
  • node_modules\react-native\node_modules\promise\setimmediate\core.js:123:24 in setImmediate$argument_0
  • node_modules\react-native\Libraries\Core\Timers\JSTimers.js:130:14 in _callTimer
  • node_modules\react-native\Libraries\Core\Timers\JSTimers.js:181:14 in _callImmediatesPass
  • node_modules\react-native\Libraries\Core\Timers\JSTimers.js:441:30 in callImmediates
  • node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:387:6 in __callImmediates
  • node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:135:6 in __guard$argument_0
  • node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:364:10 in __guard
  • node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:134:4 in flushedQueue
  • [native code]:null in flushedQueue
  • [native code]:null in invokeCallbackAndReturnFlushedQueue `

Hiti3 avatar Dec 09 '20 01:12 Hiti3