fmsouza / ethereum-wallet Goto Github PK
View Code? Open in Web Editor NEWReactNative Ethereum Wallet
License: MIT License
ReactNative Ethereum Wallet
License: MIT License
bundling failed: Error: Unable to resolve module ../../../node_modules/react-native/src/common/utils
from /home/cpc/WebstormProjects/ethereum-wallet/src/common/stores/wallet.js
: The module ../../../node_modules/react-native/src/common/utils
could not be found from /home/cpc/WebstormProjects/ethereum-wallet/src/common/stores/wallet.js
. Indeed, none of these files exist:
/home/cpc/WebstormProjects/ethereum-wallet/node_modules/react-native/src/common/utils(.native||.android.js|.native.js|.js|.android.json|.native.json|.json)
/home/cpc/WebstormProjects/ethereum-wallet/node_modules/react-native/src/common/utils/index(.native||.android.js|.native.js|.js|.android.json|.native.json|.json)
After npm start ,I exec react-native run-android ,then I got this error, what should I do now?
error: bundling failed: Error: Unable to resolve module `@common/utils/shims` from `/codes/react-native/EthereumWallet/index.js`: Module does not exist in the module map
This might be related to https://github.com/facebook/react-native/issues/4968
To resolve try the following:
1. Clear watchman watches: `watchman watch-del-all`.
2. Delete the `node_modules` folder: `rm -rf node_modules && npm install`.
3. Reset Metro Bundler cache: `rm -rf $TMPDIR/react-*` or `npm start -- --reset-cache`. 4. Remove haste cache: `rm -rf $TMPDIR/haste-map-react-native-packager-*`.
at ModuleResolver.resolveDependency (/codes/react-native/EthereumWallet/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:311:1719)
at ResolutionRequest.resolveDependency (/codes/react-native/EthereumWallet/node_modules/metro/src/node-haste/DependencyGraph/ResolutionRequest.js:96:16)
at DependencyGraph.resolveDependency (/codes/react-native/EthereumWallet/node_modules/metro/src/node-haste/DependencyGraph.js:269:4352)
at dependencies.map.relativePath (/codes/react-native/EthereumWallet/node_modules/metro/src/DeltaBundler/traverseDependencies.js:337:19)
at Array.map (<anonymous>)
at resolveDependencies (/codes/react-native/EthereumWallet/node_modules/metro/src/DeltaBundler/traverseDependencies.js:336:16)
at /codes/react-native/EthereumWallet/node_modules/metro/src/DeltaBundler/traverseDependencies.js:128:33
at Generator.next (<anonymous>)
at step (/codes/react-native/EthereumWallet/node_modules/metro/src/DeltaBundler/traverseDependencies.js:256:306)
at /codes/react-native/EthereumWallet/node_modules/metro/src/DeltaBundler/traverseDependencies.js:256:466
BUNDLE [ios, dev] ./index.js ░░░░░░░░░░░░░░░░ 0.0% (0/1), failed.
run watchman watch-del-all
and rm -rf node_modules && npm install
not worked
env
react-native-cli: 2.0.1
react-native: 0.54.0
node:
v8.9.4
I created the first wallet with one row listed for the overview page, so I then clicked the plus button on the left top corner , which then asked me new wallet name, then I typed a new name, clicked next, after that it asked me to load the old wallet or create a new one, I selected Yes, load it, then I typed my old mnemonic, after that, I clicked opened wallet, that will lead to load my old wallet, and the new wallet flashed in a short time and only the old wallet is displayed in the overview page.
So:
Thanks
idoor
Hi,
I was just trying to build and run this in release mode under iOS and the app appears to crash right away with the following. Any idea what might be causing this?
2019-05-15 23:52:38.536 [error][tid:com.facebook.react.JavaScript] TypeError: undefined is not an object (evaluating 'e.default')
This error is located at:
in r
in t
in RCTView
in RCTView
in t
in t
in RCTView
in n
in t
in n
in u
in e
in RCTView
in t
in t
in RCTView
in RCTView
in n
2019-05-15 23:52:38.537976+0800 EthereumWallet[18770:268521] TypeError: undefined is not an object (evaluating 'e.default')
This error is located at:
in r
in t
in RCTView
in RCTView
in t
in t
in RCTView
in n
in t
in n
in u
in e
in RCTView
in t
in t
in RCTView
in RCTView
in n
2019-05-15 23:52:38.542 [error][tid:com.facebook.react.JavaScript] TypeError: TypeError: undefined is not an object (evaluating 'e.default')
This error is located at:
in r
in t
in RCTView
in RCTView
in t
in t
in RCTView
in n
in t
in n
in u
in e
in RCTView
in t
in t
in RCTView
in RCTView
in n
This error is located at:
in e
in RCTView
in t
in t
in RCTView
in RCTView
in n
2019-05-15 23:52:38.541834+0800 EthereumWallet[18770:268521] TypeError: TypeError: undefined is not an object (evaluating 'e.default')
This error is located at:
in r
in t
in RCTView
in RCTView
in t
in t
in RCTView
in n
in t
in n
in u
in e
in RCTView
in t
in t
in RCTView
in RCTView
in n
This error is located at:
in e
in RCTView
in t
in t
in RCTView
in RCTView
in n
2019-05-15 23:52:38.543 [error][tid:com.facebook.react.JavaScript] TypeError: TypeError: undefined is not an object (evaluating 'e.default')
This error is located at:
in r
in t
in RCTView
in RCTView
in t
in t
in RCTView
in n
in t
in n
in u
in e
in RCTView
in t
in t
in RCTView
in RCTView
in n
This error is located at:
in e
in RCTView
in t
in t
in RCTView
in RCTView
in n
2019-05-15 23:52:38.547543+0800 EthereumWallet[18770:268521] TypeError: TypeError: undefined is not an object (evaluating 'e.default')
This error is located at:
in r
in t
in RCTView
in RCTView
in t
in t
in RCTView
in n
in t
in n
in u
in e
in RCTView
in t
in t
in RCTView
in RCTView
in n
This error is located at:
in e
in RCTView
in t
in t
in RCTView
in RCTView
in n
2019-05-15 23:52:38.549 [fatal][tid:com.facebook.react.ExceptionsManagerQueue] Unhandled JS Exception: TypeError: TypeError: undefined is not an object (evaluating 'e.default')
This error is located at:
in r
in t
in RCTView
in RCTView
in t
in t
in RCTView
in n
in t
in n
in u
in e
in RCTView
in t
in t
in RCTView
in RCTView
in n
This error is located at:
in e
in RCTView
in t
in t
in RCTView
in RCTView
in n
2019-05-15 23:52:38.549537+0800 EthereumWallet[18770:268509] Unhandled JS Exception: TypeError: TypeError: undefined is not an object (evaluating 'e.default')
This error is located at:
in r
in t
in RCTView
in RCTView
in t
in t
in RCTView
in n
in t
in n
in u
in e
in RCTView
in t
in t
in RCTView
in RCTView
in n
This error is located at:
in e
in RCTView
in t
in t
in RCTView
in RCTView
in n
2019-05-15 23:52:38.560854+0800 EthereumWallet[18770:268509] *** Terminating app due to uncaught exception 'RCTFatalException: Unhandled JS Exception: TypeError: TypeError: undefined is not an object (evaluating 'e.default')
This error is located at:
in r
in t
in RCTView
in RCTView
in t
in t
in RCTView
in n
in t
in n
in u
in e
in RCTView
in t
in t
in RCTView
in RCTView
in n
This error is located at:
in e
in RCTView
in t
in t
in RCTView
in RCTView
in n', reason: 'Unhandled JS Exception: TypeError: TypeError: undefined is not an object (e..., stack:
r@486:732
nr@238:43523
Ur@238:56432
Ar@238:56864
si@238:61708
li@238:61128
ii@238:60256
Mr@238:59236
pi@238:66432
render@238:69043
exports@419:431
run@415:611
runApplication@415:2013
value@99:3222
@99:805
value@99:2491
value@99:777
value@:
'
*** First throw call stack:
(
0 CoreFoundation 0x0000000103f741bb _exceptionPreprocess + 331
1 libobjc.A.dylib 0x0000000101d9f735 objc_exception_throw + 48
2 EthereumWallet 0x000000010103f634 RCTFormatError + 0
3 EthereumWallet 0x000000010103c397 -[RCTExceptionsManager reportFatalException:stack:exceptionId:] + 507
4 CoreFoundation 0x0000000103f7b03c invoking + 140
5 CoreFoundation 0x0000000103f784d5 -[NSInvocation invoke] + 325
6 CoreFoundation 0x0000000103f78926 -[NSInvocation invokeWithTarget:] + 54
7 EthereumWallet 0x000000010105278f -[RCTModuleMethod invokeWithBridge:module:arguments:] + 602
8 EthereumWallet 0x000000010109714b _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicE + 255
9 EthereumWallet 0x0000000101096eca ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 78
10 libdispatch.dylib 0x00000001078a7595 _dispatch_call_block_and_release + 12
11 libdispatch.dylib 0x00000001078a8602 _dispatch_client_callout + 8
12 libdispatch.dylib 0x00000001078afb0b _dispatch_lane_serial_drain + 791
13 libdispatch.dylib 0x00000001078b0784 _dispatch_lane_invoke + 428
14 libdispatch.dylib 0x00000001078ba89a _dispatch_workloop_worker_thread + 733
15 libsystem_pthread.dylib 0x0000000107c8f611 _pthread_wqthread + 421
16 libsystem_pthread.dylib 0x0000000107c8f3fd start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
The function createTransaction in utils/transaction.js and sendTransaction in services/transactions.js both only work for ETH transactions, right? what about other tokens instead of ETH? for instance, if a user wants to send a different ERC-20 compliant TOKEN on the ethereum network from one address to another, is this feature implemented yet?
Thanks
IDoor
Upon cloning the app I have issues with resolving the modules; how can I make the app recognize these @common // @components paths? Thanks in advance.
I have created two wallets, but I want to remove all of them since I want to start over again, but after I clicked Erase all data in Settings, the two wallets are removed from the list in Overview page, but when I reload the page via command R(on mac), even I rebuilt and re-ran the ios simulator, the two wallets still show up, so how do I remove them completely? so where this two wallets are saved on my hard drive, which file should I remove from the hard drive?
Thanks
idoor
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.