I am having trouble building react native ios project.
Error message:
"launchPackage command" can't be opened because it is from an unidentified developer.
Any idea how to fix this?
I am having trouble building react native ios project.
Error message:
"launchPackage command" can't be opened because it is from an unidentified developer.
Any idea how to fix this?
Another simple way is to delete node_modules folder from project directory and do npm install. This happened because project was copied from old mac which had node_modules folder created by that old mac user, hence some problem occurs for project transferred to new mac.
Had the same problem on macOS Mojave. This helped:
chmod 777 node_modules/react-native/scripts/launchPackager.command
Go to
GeneralAllow apps downloaded from anywhere or Allow apps downloaded from App Store and identified developersI had the same error with you and this method worked for me.
on MacOS Catalina and above Go to
chmod 777 node_modules/react-native/scripts/launchPackager.command
react-native run-androidThe reason is because you downloaded source code using virtual machine.
Solution:
Please download source code at your real machine.
And then copy it at VM, and build this project.