Closed lhC0 closed 4 years ago
Let me test it to reproduce this issue :)
Sorry, the code can't be sent to you. Please take a look at the possible causes of this problem.Thank you
I'm going to test it with my own environment. If I could not reproduce it, you should create a minimal reproducible repo for me.
Hello again @lhC0, I've tested on my own environment and it works for me. Can you please provide with me a minimal reproducible example/repo?
Metro Bundler ready.
Loading dependency graph, done. error: bundling failed: Error: While trying to resolve module
react-native-calendar-heatmap
from fileE:\git\wrd.heimdallr\RN-App\page\js\WindTurbinePage.js
, the packageE:\git\wrd.heimdallr\RN-App\node_modules\react-native-calendar-heatmap\package.json
was successfully found. However, this package itself specifies amain
module field that could not be resolved (E:\git\wrd.heimdallr\RN-App\node_modules\react-native-calendar-heatmap\lib\src\CalendarHeatmap.js
. Indeed, none of these files exist:E:\git\wrd.heimdallr\RN-App\node_modules\react-native-calendar-heatmap\lib\src\CalendarHeatmap.js(.native||.android.js|.native.js|.js|.android.json|.native.json|.json)
E:\git\wrd.heimdallr\RN-App\node_modules\react-native-calendar-heatmap\lib\src\CalendarHeatmap.js\index(.native||.android.js|.native.js|.js|.android.json|.native.json|.json)
at ResolutionRequest.resolveDependency (E:\git\wrd.heimdallr\RN-App\node_modules\metro\src\node-haste\DependencyGraph\ResolutionRequest.js:103:15) at DependencyGraph.resolveDependency (E:\git\wrd.heimdallr\RN-App\node_modules\metro\src\node-haste\DependencyGraph.js:272:4579) at dependencies.map.relativePath (E:\git\wrd.heimdallr\RN-App\node_modules\metro\src\DeltaBundler\traverseDependencies.js:376:19) at Array.map (