Big Sur, React Native and launchPackager.command

1.7k views Asked by At

Since upgrading to macOS Big Sur every time I run an React Native app with npx react-native run-ios it opens the package manager in TextEdit instead of a Terminal.

When running node_modules/react-native/scripts/launchPackager.command manually from Finder or the Terminal it works just fine. The file extensions is mapped to Terminal and I obviously have correct access rights on the file.

I've also removed node_modules and reinstalled them.

1

There are 1 answers

0
Johan Nordberg On

The latest beta of Big Sur seems to avoid this problem. Leaving the question here in case anyone else has the same problem with older betas.