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
{{ message }}
This repository has been archived by the owner on May 16, 2024. It is now read-only.
When I installed the core sdk on react native, it gave me the error "crypto could not be found within the project or in these directories:"
`error: Error: Unable to resolve module crypto from /home/mandeep/KyoAPp/kyo-react-native-app/node_modules/ethereumjs-wallet/dist.browser/index.js crypto could not be found within the project or in these directories:
node_modules
../../node_modules
71 | Object.defineProperty(exports, "__esModule", { value: true });
72 | exports.thirdparty = exports.hdkey = void 0;
73 | var crypto = __importStar(require("crypto"));
| ^
74 | var ethereumjs_util_1 = require("ethereumjs-util");
75 | var scrypt_js_1 = require("scrypt-js");
76 | var hdkey_1 = require("./hdkey");`
So I had to manually install the crypto-js module and had to manually export it giving alias name as "crypto".
even had to install other dependence's of IMX core sdk mannually.
stream
events
react-native-randombytes.
assert
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Issue tracker is ONLY used for reporting bugs.
When I installed the core sdk on react native, it gave me the error "crypto could not be found within the project or in these directories:"
`error: Error: Unable to resolve module crypto from /home/mandeep/KyoAPp/kyo-react-native-app/node_modules/ethereumjs-wallet/dist.browser/index.js crypto could not be found within the project or in these directories:
node_modules
../../node_modules
71 | Object.defineProperty(exports, "__esModule", { value: true });
72 | exports.thirdparty = exports.hdkey = void 0;
So I had to manually install the crypto-js module and had to manually export it giving alias name as "crypto".
even had to install other dependence's of IMX core sdk mannually.
stream
events
react-native-randombytes.
assert
The text was updated successfully, but these errors were encountered: