Tonomy-Foundation / Tonomy-ID

Tonomy ID is the cross-platform mobile wallet (Android and iOS) for public and private Antelope blockchains. This application allows you to sign transactions on the block chain, share your DID and Verifiable Credentials containing your identity with others in a consensual way and log into web2 and web3 applications.
Apache License 2.0
13 stars 1 forks source link

App Expo Go - Cannot read property 'argon2' of null #869

Closed dnaicker86 closed 10 months ago

dnaicker86 commented 11 months ago

Using app expo go to deploy app. Scanning QR code to run on Android successfully builds but is not deployed. The following error displays for both Android and iOS/iPhone:

Android Bundling complete 14752ms
Android Bundling complete 4815ms
Android Bundling complete 89ms
 LOG  Setting btoa and atob polyfills
 LOG  settingsInputs {"env": "development", "expoNodeEnv": undefined, "logEnv": undefined, "nodeEnv": "development"}
 DEBUG  setSettings {"accountSuffix": ".stag.tonomy.id", "accountsServiceUrl": "https://communication.staging.tonomy.foundation", "blockchainUrl": "https://blockchain-api-staging.tonomy.foundation", "communicationUrl": "wss://communication.staging.tonomy.foundation", "loggerLevel": "debug", "tonomyIdSchema": "tonomy-id-development://"}
 ERROR  TypeError: Cannot read property 'argon2' of null, js engine: hermes
 ERROR  Invariant Violation: "main" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called., js engine: hermes
CommandError: Must specify "expo-platform" header or "platform" query parameter
iOS Bundling complete 13862ms
iOS Bundling complete 13834ms
 LOG  Setting btoa and atob polyfills
 LOG  settingsInputs {"env": "development", "expoNodeEnv": undefined, "logEnv": undefined, "nodeEnv": "development"}
 DEBUG  setSettings {"accountSuffix": ".stag.tonomy.id", "accountsServiceUrl": "https://communication.staging.tonomy.foundation", "blockchainUrl": "https://blockchain-api-staging.tonomy.foundation", "communicationUrl": "wss://communication.staging.tonomy.foundation", "loggerLevel": "debug", "tonomyIdSchema": "tonomy-id-development://"}
 ERROR  TypeError: Cannot read property 'argon2' of null, js engine: hermes
 ERROR  Invariant Violation: "main" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called., js engine: hermes
dnaicker86 commented 10 months ago

Solution could be similar to this thread: https://github.com/Tonomy-Foundation/Tonomy-ID/issues/866