You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am facing this issue when trying to import these libraries:
import {
JolocomSDK,
JolocomTypeormStorage,
JolocomKeychainPasswordStore,
} from 'react-native-jolocom'
Error message:
error: Error: Unable to resolve module `assert` from `node_modules/ethereumjs-util/dist/account.js`: assert could not be found within the project.
I came across ethereumjs-util/issues/92 issue, which is the exact error but still couldn't understand how to resolve it.
I was hoping if someone can assist me with this.
here is the detailed stack trace:
at ModuleResolver.resolveDependency (/home/harshit/jolo-new/myJolo/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:186:15)
at ResolutionRequest.resolveDependency (/home/harshit/jolo-new/myJolo/node_modules/metro/src/node-haste/DependencyGraph/ResolutionRequest.js:52:18)
at DependencyGraph.resolveDependency (/home/harshit/jolo-new/myJolo/node_modules/metro/src/node-haste/DependencyGraph.js:287:16)
at Object.resolve (/home/harshit/jolo-new/myJolo/node_modules/metro/src/lib/transformHelpers.js:267:42)
at /home/harshit/jolo-new/myJolo/node_modules/metro/src/DeltaBundler/traverseDependencies.js:434:31
at Array.map ()
at resolveDependencies (/home/harshit/jolo-new/myJolo/node_modules/metro/src/DeltaBundler/traverseDependencies.js:431:18)
at /home/harshit/jolo-new/myJolo/node_modules/metro/src/DeltaBundler/traverseDependencies.js:275:33
at Generator.next ()
at asyncGeneratorStep (/home/harshit/jolo-new/myJolo/node_modules/metro/src/DeltaBundler/traverseDependencies.js:87:24)
The text was updated successfully, but these errors were encountered:
Hi,
I am facing this issue when trying to import these libraries:
Error message:
I came across ethereumjs-util/issues/92 issue, which is the exact error but still couldn't understand how to resolve it.
I was hoping if someone can assist me with this.
here is the detailed stack trace:
The text was updated successfully, but these errors were encountered: