This repository was archived by the owner on Aug 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
This repository was archived by the owner on Aug 1, 2023. It is now read-only.
Error when running on iOS #25
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Error info:
warning: the transform cache was reset.
Loading dependency graph, done.
error: bundling failed: Error: Unable to resolve modulereact-nativefrom../BlockstackSDK/index.js: react-native could not be found within the project.
If you are sure the module exists, try these steps:
- Clear watchman watches: watchman watch-del-all
- Delete node_modules: rm -rf node_modules and run yarn install
- Reset Metro's cache: yarn start --reset-cache
- Remove the cache: rm -rf /tmp/metro-*
at ModuleResolver.resolveDependency (/Users/admin/Documents/blockstack-react-native/example/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:186:15)
at ResolutionRequest.resolveDependency (/Users/admin/Documents/blockstack-react-native/example/node_modules/metro/src/node-haste/DependencyGraph/ResolutionRequest.js:52:18)
at DependencyGraph.resolveDependency (/Users/admin/Documents/blockstack-react-native/example/node_modules/metro/src/node-haste/DependencyGraph.js:282:16)
at Object.resolve (/Users/admin/Documents/blockstack-react-native/example/node_modules/metro/src/lib/transformHelpers.js:267:42)
at dependencies.map.result (/Users/admin/Documents/blockstack-react-native/example/node_modules/metro/src/DeltaBundler/traverseDependencies.js:426:31)
at Array.map ()
at resolveDependencies (/Users/admin/Documents/blockstack-react-native/example/node_modules/metro/src/DeltaBundler/traverseDependencies.js:423:18)
at /Users/admin/Documents/blockstack-react-native/example/node_modules/metro/src/DeltaBundler/traverseDependencies.js:275:33
at Generator.next ()
at asyncGeneratorStep (/Users/admin/Documents/blockstack-react-native/example/node_modules/metro/src/DeltaBundler/traverseDependencies.js:87:24)
BUNDLE [ios, dev] ./index.js ░░░░░░░░░░░░░░░░ 5.5% (4/17), failed.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working