Open RobertPetricevic opened 12 months ago
confirmed here as well
❯ npx react-native-bundle-visualizer
Generating bundle...
Welcome to Metro v0.76.8
Fast - Scalable - Integrated
Error: The resource `/Users/.../expo-router/entry` was not found.
at /Users/.../node_modules/metro/src/IncrementalBundler.js:276:24
=== error === Error: Command failed with exit code 1:
I think it's the same as https://github.com/IjzerenHein/react-native-bundle-visualizer/issues/93 we need to change the path of the sourcemap somehow
I have a solution to this - will update here briefly.
@flexbox @RobertPetricevic
npx expo export -p web --dump-sourcemap
in your project. This will create a dist directory with your exported project along with the sourcemaps.npx source-map-explorer dist/**/*.js
to get the graphic representation of your sourcemaps.@mojavad Nice hack! thanks for sharing
I'm getting the following error when trying to run bundle visualizer:
Error: The resource
/Users/............../expo-router/entry
was not found.Has anyone run on this issue before?