Posts

Showing posts with the label macos

Android Device Manager fails to launch after updating to MacOS Big Sur 11.3

11 3 So my Mac just forced updated to Big Sur 11.3. I've been trying to access the Android Device Manager to run an emulated device and it has been silently failing each time. When I tried to run it from the command line, I get this error message: emulator @Pixel_3a_API_30 emulator: Android emulator version 30.5.5.0 (build_id 7285888) (CL:N/A) handleCpuAcceleration: feature check for hvf cannot add library /Users/centuryfall/Library/Android/sdk/emulator/qemu/darwin-x86_64/lib64/vulkan/libvulkan.dylib: failed added library /Users/centuryfall/Library/Android/sdk/emulator/lib64/vulkan/libvulkan.dylib cannot add library /Users/centuryfall/Library/Android/sdk/emulator/qemu/darwin-x86_64/lib64/vulkan/libMoltenVK.dylib: failed HVF error: HV_ERROR qemu-system-x86_64: faile...

Fresh react-native ios app not building?

Below is the details about my environment and logs of the build failure. Anyone facing similar issue or know steps to overcome this please do point me out to relevant steps or docs. Xcode: 7.2.1 Node: v5.9.0 npm: 3.7.3 react-native-cli: 0.1.10 react-native: 0.22.2 Running "sudo react-native run-ios" leaves me with the below logs. LOGS: ** BUILD FAILED ** The following build commands failed: PhaseScriptExecution Run\ Script /Users/abc/Desktop/REACT-NATIVE/demo/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Script-006B79A01A781F38006873D1.sh (1 failure) Installing build/Build/Products/Debug-iphonesimulator/demo.app No devices are booted. Print: Entry, ":CFBundleIdentifier", Does Not Exist /Users/abc/Desktop/REACT-NATIVE/demo/node_modules/promise/lib/done.js:10 throw err; ^ Error: Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/demo.app/Info....

React Native cannot run stacktrace

I am trying to get a test project up and running with React Native on a Mac (osx 10.12). If I run: react-native run-android --stacktrace I get the following error: error: unknown option '--stacktrace' I have installed: Node Watchman Flow Java JDK Android SDK React Native CLI Genymotion When I run the command the emulator is running. Can anyone tell me why this is happening? Many thanks in advance. The --stacktrace suggestion isn't output by the react-native run-android command, it comes from one of the commands it runs. Here's how to run it with the --stacktrace option. Read further for an explanation. cd android && ./gradlew installDebug --stacktrace react-native run-android actually runs cd android && ./gradlew installDebug as you can see in the following lines outputted by react-native run-android Running /Users/upside/Library/Android/sdk/platform-tools/adb -s 0111474880b8a726 reverse tcp:8081 tcp:8081 Build...

React Native for Mac

I'm using React Native to build a mobile App. Also I have a similar Mac App, I'm wondering if React Native can be adapted for Mac, how difficult it is. React Native - doesn't support native OS X app, it is geared towards mobile native applications. Even though it doesn't seem to be easy to adapt the code to run as a native OS X app, there is at least one project that is attempting to do that (the author of the project states that this was a weekend hack project and therefore not production ready, but nonetheless a good start point): https://github.com/ptmt/react-native-desktop Check out React Native for macOS, it appears to be what you are looking for: https://github.com/ptmt/react-native-macos You may also consider Electron, however this is not a React-specific solution.

NPM not installing package. Hostname/IP address doesn't match certificate's altnames:

For a solution, see below It was working yesterday, but I don't know what happened to it. NPM is not installing the package. The hostname/IP address doesn't match the certificate's altnames: Host: registry.npmjs.org. is not in the cert's altnames: DNS:a.sni.fastly.net, DNS:a.sni.global-ssl.fastly.net This is what I was trying to do: >> ROOT: } npm install up to date in 1.797s >> ROOT: } npm install express-messages npm ERR! request to https://registry.npmjs.org/express-messages failed, reason: Hostname/IP doesn't match certificate's altnames: "Host: registry.npmjs.org. is not in the cert's altnames: DNS:a.sni.fastly.net, DNS:a.sni.global-ssl.fastly.net" npm ERR! A complete log of this run can be found in: npm ERR! /Users/prashant/.npm/_logs/2018-09-01T11_54_09_205Z-debug.log >> ROOT: } I have read all the articles/issues that I could find and also have re-installed Node.js and npm, but after that too I have the same issu...