After command: npx react-native start
TypeError: attachToServer is not a function
at Object.runServer [as func] (E:\WiemIleJem\WiemCoJem\node_modules\@react-native-community\cli-plugin-metro\build\commands\start\runServer.js:131:7)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Command.handleAction (E:\WiemIleJem\WiemCoJem\node_modules\@react-native-community\cli\build\index.js:192:9) ```
It's clean project created by command: npx react-native init
I was able to resolve the issue by installing @react-native-community/cli
npm i @react-native-community/cli --save-dev
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With