celo-dappkit
celo-dappkit copied to clipboard
Unclear issue: Unable to resolve
I'm using version of
"@celo/connect": "^1.5.2",
"@celo/contractkit": "^1.5.2",
"@celo/dappkit": "^1.5.2",
and
"@celo/connect": "^1.1.0",
"@celo/contractkit": "^1.1.0",
"@celo/dappkit": "^1.1.0",
in Expo v44
iOS Bundling failed 3690ms
Unable to resolve module crypto from /Users/dellwatson/Desktop/terra-celo/dapp-test/node_modules/@celo/utils/lib/commentEncryption.js: crypto could not be found within the project.
If you are sure the module exists, try these steps:
1. Clear watchman watches: watchman watch-del-all
2. Delete node_modules and run yarn install
3. Reset Metro's cache: yarn start --reset-cache
4. Remove the cache: rm -rf /tmp/metro-*
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | exports.CommentEncryptionUtils = exports.decryptComment = exports.encryptComment = exports.decryptData = exports.encryptData = void 0;
> 4 | var crypto_1 = require("crypto");
| ^
5 | var dataEncryptionKey_1 = require("./dataEncryptionKey");
6 | var ecies_1 = require("./ecies");
7 | var ECIES_SESSION_KEY_LEN = 129;