Open Supermarcel10 opened 4 days ago
With further investigation, this seems to be an issue with --verbose
. The created node process gets stuck for some reason, and cannot be killed with kill -9
.
It seems to be overall an issue with metro hanging mostly all the time - when running, starting and stopping. Because it's unable to stop, it hangs when attempting to start. It seems to hang on stopping because it hangs during when it runs.
(NOBRIDGE) LOG Bridgeless mode is enabled
(NOBRIDGE) LOG Running "untitled" with {"rootTag":11,"initialProps":{},"fabric":true}
INFO
💡 JavaScript logs will be removed from Metro in React Native 0.77! Please use React Native DevTools as your default tool. Tip: Type j in the terminal to open (requires Google Chrome or Microsoft Edge).
BUNDLE ./index.js ░░░░░░░░░░░░░░░░ 0.0% (0/1)
BUNDLE ./index.js ░░░░░░░░░░░░░░░░ 0.0% (0/1)info Stopping server
^C^C^C^C^C
~/WebstormProjects/test git:[test]
$ react-native start
info Welcome to React Native v0.76
Hi @Supermarcel10 - could you check whether you experience the same issue in an Expo CLI project? If not, this is likely an issue with the community CLI rather than Metro.
In any case, we'd need a reproduction (ideally a minimal project in a github repo) to look into this further - we haven't had any other reports and there's not much I can suggest without a repro.
You can try DEBUG=Metro:*
for more verbose logging of Metro internals.
Do you want to request a feature or report a bug? BUG
What is the current behavior? React Native / Metro seems to be stuck after running
react-native start
If the current behavior is a bug, please provide the steps to reproduce and a minimal repository on GitHub that we can
yarn install
andyarn test
. 1) Runreact-native start --verbose
What is the expected behavior? Metro starts up as expected
Extra Info: