-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDK ~48.0.1 100 lines of "react-navigation failed to find sourcemap" issue #21276
Comments
Getting the same issue |
Also experiencing the same Not sure if this is related, but under the OP's warnings about react-navigation, this also shows up for me:
|
@peterpme after reading this, I use the metro bundler for web and ditched webpack (so no more of these errors).
EDIT: you need to add |
@younes0 I didn't need to add |
One bug to be aware of:
|
Fast Refresh, LogBox errors, and Expo Constants are all enabled by default in Expo Router (where Metro web is developed). We should still figure out what's going on with Webpack/React Navigation as Metro web is very early in development. |
I think I found out why we're getting the warnings, the previous |
@EvanBacon i had to switch back to webpack because It works fine in webpack so I know my configurations are correct |
fwiw I can confirm that overriding the
const createExpoWebpackConfigAsync = require('@expo/webpack-config');
module.exports = async function (env, argv) {
const config = await createExpoWebpackConfigAsync(env, argv);
// Disable warnings
config.stats = 'none'
// Customize the config before returning it.
return config;
}; |
There seems to be an issue with the path to the source file in our compiled code. I'll take a look. |
This should be fixed if you upgrade to latest versions of |
@satya164 this fixed a most of the warnings. I am still getting some warnings for |
@elitenas can you post the warnings? |
@elitenas what are the versions numbers of your |
Ignore that.. i was looking at older logs on my console. This is fixed |
This fixed my react-navigation warnings, however I still receive this one:
Seems unrelated so I'll open a new issue, only occurs on web from what I can tell |
@frankcalise i do get the same log as well |
@frankcalise I am also getting this error. |
@satya164 the same problem is also with |
Please open an issue in Paper repo |
Minimal reproducible example
https://github.com/peterpme/expo-react-navigation-sourcemap-issue
Summary
By including a Tab Navigator, I am faced with 100 lines of source map errors (excerpt below).
Reproduction Steps:
yarn create expo-app --template blank@beta sourcemap-issue
yarn web
Environment
expo-env-info 1.0.5 environment info:
System:
OS: macOS 13.0.1
Shell: 5.9 - /opt/homebrew/bin/zsh
Binaries:
Node: 16.18.0 - ~/Library/Caches/fnm_multishells/88374_1676670625658/bin/node
Yarn: 1.22.19 - ~/.yarn/bin/yarn
npm: 8.19.2 - ~/Library/Caches/fnm_multishells/88374_1676670625658/bin/npm
Watchman: 2023.02.06.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
IDEs:
Android Studio: 2022.1 AI-221.6008.13.2211.9477386
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
npmPackages:
@expo/webpack-config: ^18.0.1 => 18.0.1
expo: ~48.0.1 => 48.0.1
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.71.3 => 0.71.3
react-native-web: ~0.18.10 => 0.18.12
Expo Workflow: managed
The text was updated successfully, but these errors were encountered: