Search code examples
androidreact-nativemacosterminal

LaunchPackager.command” can’t be opened because (null) is not allowed to open documents in Terminal : React Native Mac OS


I tried to build my react-native application using npx react-native run-android command. App builds successfully but metro blunder not opening and return following error message.

launchPackager.command” can’t be opened because (null) is not allowed to open documents in Terminal.

Anyone has an idea to fix this issue ?

My machine specifications : MacBook Pro M1, macOS Ventura 13


Solution

  • There is a one solution but need to do it manually.

    Go to your project folder -> node modules -> react native -> scripts -> open "launchPackager.command"

    you all good now

    There is a one solution but need to do it manually.

    Go to your project folder -> node modules -> react native -> scripts -> open "launchPackager.command"

    you all good now

    There is a one solution but need to do it manually.

    Go to your project folder -> node modules -> react native -> scripts -> open "launchPackager.command"

    you all good now