Skip to content
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

Don't use deprecated metro config #826

Open
maciekstosio opened this issue Dec 4, 2024 · 0 comments
Open

Don't use deprecated metro config #826

maciekstosio opened this issue Dec 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@maciekstosio
Copy link
Contributor

maciekstosio commented Dec 4, 2024

Description

We get a warning about using metro-config which is deprecated in favor of @react-native/metro-config.

2024-12-04 12:18:42.400 [info] Installing node modules
2024-12-04 12:18:42.412 [info] Device selected iPhone 15 Pro
2024-12-04 12:18:42.414 [info] Selected device is ready
2024-12-04 12:18:43.279 [info] Installing node modules succeeded
2024-12-04 12:18:43.717 [info] Metro warn =================================================================================================
2024-12-04 12:18:43.717 [info] Metro warn From React Native 0.73, your project's Metro config should extend '@react-native/metro-config'
2024-12-04 12:18:43.717 [info] Metro warn or it will fail to build. Please copy the template at:
2024-12-04 12:18:43.717 [info] Metro warn https://github.com/react-native-community/template/blob/main/template/metro.config.js
2024-12-04 12:18:43.717 [info] Metro warn This warning will be removed in future (https://github.com/facebook/metro/issues/1018).
2024-12-04 12:18:43.717 [info] Metro warn =================================================================================================
2024-12-04 12:18:43.720 [info] Metro {"type":"RNIDE_watch_folders","watchFolders":["/Users/jakubgrzywacz/Projects/react-native-svg/apps/fabric-example","/Users/jakubgrzywacz/Projects/react-native-svg/apps/fabric-example","/Users/jakubgrzywacz/Projects/react-native-svg","/Users/jakubgrzywacz/.vscode/extensions/swmansion.react-native-ide-1.0.0-darwin-arm64/lib"]}
2024-12-04 12:18:43.720 [info] Captured metro watch folders ["/Users/jakubgrzywacz/Projects/react-native-svg/apps/fabric-example","/Users/jakubgrzywacz/Projects/react-native-svg/apps/fabric-example","/Users/jakubgrzywacz/Projects/react-native-svg","/Users/jakubgrzywacz/.vscode/extensions/swmansion.react-native-ide-1.0.0-darwin-arm64/lib"]
2024-12-04 12:18:43.730 [info] Metro info Welcome to React Native v0.76
2024-12-04 12:18:43.730 [info] Metro info Starting dev server on port 0...
2024-12-04 12:18:43.738 [info] Metro {"hasReducedPerformance":false,"port":0,"type":"initialize_started"}
2024-12-04 12:18:44.843 [info] Metro {"type":"transform_cache_reset"}
2024-12-04 12:18:44.843 [info] Metro {"type":"dep_graph_loading","hasReducedPerformance":false}
2024-12-04 12:18:44.847 [info] Metro {"type":"server_listening","address":"::","port":58366,"family":"IPv6"}
2024-12-04 12:18:44.847 [info] Metro {"type":"RNIDE_initialize_done","port":58366}
2024-12-04 12:18:44.847 [info] Metro started on port 58366

Environment

  • Repo SVG
  • Radon IDE 1.0
  • react-native 0.76.0
@maciekstosio maciekstosio added the bug Something isn't working label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant