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 Oct 24, 2022. It is now read-only.
I've added react-native-lightning to my app, and when building with Xcode, it fails with error:
warning: the transform cache was reset.
Welcome to Metro!
Fast - Scalable - Integrated
error Unable to resolve module @babel/runtime/helpers/interopRequireDefault from /Users/loshan/Repos/react-native-lightning/dist/index.js: @babel/runtime/helpers/interopRequireDefault could not be found within the project or in these directories:
../react-native-lightning
../react-native-lightning/node_modules
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-*
�[0m�[31m�[1m>�[22m�[39m�[90m 1 |�[39m �[36mimport�[39m lnd �[36mfrom�[39m �[32m'./lnd'�[39m�[33m;�[39m�[0m
�[0m �[90m 2 |�[39m �[36mimport�[39m �[33mLndConf�[39m �[36mfrom�[39m �[32m'./utils/lnd.conf'�[39m�[33m;�[39m�[0m
�[0m �[90m 3 |�[39m �[36mimport�[39m { lnrpc } �[36mfrom�[39m �[32m'./protos/rpc'�[39m�[33m;�[39m�[0m
�[0m �[90m 4 |�[39m �[36mimport�[39m { wu_lnrpc } �[36mfrom�[39m �[32m'./protos/walletunlocker'�[39m�[33m;�[39m�[0m.
Error: Unable to resolve module @babel/runtime/helpers/interopRequireDefault from /Users/loshan/Repos/react-native-lightning/dist/index.js: @babel/runtime/helpers/interopRequireDefault could not be found within the project or in these directories:
../react-native-lightning
../react-native-lightning/node_modules
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-*
�[0m�[31m�[1m>�[22m�[39m�[90m 1 |�[39m �[36mimport�[39m lnd �[36mfrom�[39m �[32m'./lnd'�[39m�[33m;�[39m�[0m
�[0m �[90m 2 |�[39m �[36mimport�[39m �[33mLndConf�[39m �[36mfrom�[39m �[32m'./utils/lnd.conf'�[39m�[33m;�[39m�[0m
�[0m �[90m 3 |�[39m �[36mimport�[39m { lnrpc } �[36mfrom�[39m �[32m'./protos/rpc'�[39m�[33m;�[39m�[0m
�[0m �[90m 4 |�[39m �[36mimport�[39m { wu_lnrpc } �[36mfrom�[39m �[32m'./protos/walletunlocker'�[39m�[33m;�[39m�[0m
at ModuleResolver.resolveDependency (/Users/loshan/Repos/plasma/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:129:15)
at DependencyGraph.resolveDependency (/Users/loshan/Repos/plasma/node_modules/metro/src/node-haste/DependencyGraph.js:288:43)
at Object.resolve (/Users/loshan/Repos/plasma/node_modules/metro/src/lib/transformHelpers.js:129:24)
at resolve (/Users/loshan/Repos/plasma/node_modules/metro/src/DeltaBundler/traverseDependencies.js:396:33)
at /Users/loshan/Repos/plasma/node_modules/metro/src/DeltaBundler/traverseDependencies.js:412:26
at Array.reduce (<anonymous>)
at resolveDependencies (/Users/loshan/Repos/plasma/node_modules/metro/src/DeltaBundler/traverseDependencies.js:411:33)
at processModule (/Users/loshan/Repos/plasma/node_modules/metro/src/DeltaBundler/traverseDependencies.js:140:31)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
info Run CLI with --verbose flag for more details.
Command PhaseScriptExecution failed with a nonzero exit code
Fix is to 'yarn add @babel/runtime` and merge to this library.
The text was updated successfully, but these errors were encountered:
I've added react-native-lightning to my app, and when building with Xcode, it fails with error:
Fix is to 'yarn add @babel/runtime` and merge to this library.
The text was updated successfully, but these errors were encountered: