Watchman installation fails on mac os version 10.12 - javascript

I'm trying to set up the development environment for react-native on my MacBook Pro 2012.
I'm trying to install watchman with Homebrew as the documentation suggests but I get this error and the build fails:
Error: You are using macOS 10.12.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull-requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.
I'm fairly new to mac os and I don't know how to fix this. I read a lot about it and there does not seem to be a fix for my situation.

I am sorry about your installation issue, but homebrew does only support the latest macOS three versions, which would be Mojave (10.14), Catalina (10.15), BigSur (11.0).
With the most recent release Monterey (12.0), the Mojave artifact would be dropped pretty soon. So you can to build from source yourself.
I would recommend you to upgrade to a more recent macOS version to have a smooth formula installation experience.

I have managed to install Facebook watchman in High Sierra 10.13.6 using MacPort tools.
1- Download MacPorts package related to your version from: https://www.macports.org/install.php#installing
2- Extract and install it.
3- Run $sudo port -v selfupdate for any update.
4- Once successfully installed run the command: sudo port install watchman
For more details check the following documentations:
https://facebook.github.io/watchman/docs/install.html
https://www.macports.org/install.php#installing

Related

Your profile cannot be used because it is from a newer version of NW.js

Searching for this error text I get only info about Google Chrome.
I want to disable this warning or understand why this is happening.
I found this: https://github.com/nwjs/nw.js/issues/5761 and deleted
~/Library/Application Support/nwjs/rm -rf Default/Web\ Data
~/Library/Application Support/nwjs/rm -rf Default/Web\ Data-journal
But when I run my app again, the error happens
This Message says:
Your profile can not be used because it is from a newer version of NW.js
Some features may be unavailable. Please specify a different profile directory or use a newer version of NW.js
I was using the latest verison of nw.js and switched to 0.23.7 for compatibility with https://github.com/greenheartgames/greenworks/releases .
How do I disable this error message? I'm concerned about users seeing this message.
rm -rf ~/Application\ Support/MyAppName
and run again

How to build for ios on Windows (react-native)?

Is there any opportunity to build react-native project for ios on Windows? Is there any service for it?
Unfortunately Not possible for iOS as of now (If you are not going to use MAC on VMware).
However you can use for Android & read More details here.
NOTE: This guide focuses on Android development. You'll need a Mac to build iOS apps.
As React Native on iOS requires a Mac and most of the engineers at
Facebook and contributors use Macs, support for OS X is a top
priority. However, we would like to support developers using Linux and
Windows too. We believe we'll get the best Linux and Windows support
from people using these operating systems on a daily basis.
Therefore, Linux and Windows support for the development environment
is an ongoing community responsibility. This can mean filing issues
and submitting PRs, and we'll help review and merge them. We are
looking forward to your contributions and appreciate your patience.
As of version 0.14 Android development with React native is mostly
possible on Linux and Windows. You'll need to install Node.js 4.0 or
newer. On Linux we recommend installing watchman, otherwise you might
hit a node file watching bug.
You can use a cloud build service, such as Circle CI or Mobile Center, to build iOS react-native applications and even automatically run Appium tests. The feedback cycle would be much longer than on your local machine, though.
Some folks choose to break the Apple EULA and run MacOS in a VirtualBox as a kind of "hackintosh" virtual machine on their Windows PCs. This supposedly works very well, and runs at near-native build speeds.

Cant use cordova android in windows?

After hours of struggling I decided to reread the whole cordova documentation, I noticed this.
To add support or rebuild a project for any platform, you need to run the command-line interface from the same machine that supports the platform's SDK. The CLI supports the following combinations:
iOS (Mac)
Android (Mac, Linux) <------
BlackBerry 10 (Mac, Linux, Windows)
Windows Phone 7 (Windows)
Windows Phone 8 (Windows)
Windows 8 (Windows)
Firefox OS (Mac, Linux, Windows)
Is it true that I cant use the cli on windows for android? I have the SDK for android installed on my machine, so IDK why it doesn't say windows?
Are there any workarounds, should I avoid the cli and build my app myself?
The reason why I ask is in the cli I run cordova platform add android I get errors, and have done everything in my power for the last 10 hours to get it to work.
1) You can use CLI commands in windows OS. I personally develop for Android in windows.
2) Its highly recommended to use CLI as it makes the life easy for adding/removing any plugin usage.
3) For the CLI to work correctly, you may require to install Ant, NodeJS.

How to install Parse.com 'Cloud Code' on Windows?

Parse.com have released their 'Cloud Code' JavaScript API, but there are no instructions for getting started on Windows.
How do you go about getting up and running in a Windows environment?
https://parse.com/docs/cloud_code_guide
This is what I did to get Parse.com Cloud Code running on Windows 8.
Install Python 2.7 (parse don't tell
you this)
Install Git for windows (Msysgit)
Run 'Git Bash' as Admin, which will
give you a bash style command line.
Make sure Python is working in the Git Bash... python
From here you can follow the Parse
instructions, but remove 'sudo from
the command they give you:
curl -s https://www.parse.com/downloads/cloud_code/installer.sh | /bin/bash
From here it worked for me.
We released an official version of the command line tools for Windows last week. Check it out at http://blog.parse.com/2012/10/25/parse-command-line-tools-available-for-windows/

Why can't "node.js / Crawler" be installed on Windows?

I have Windows XP (32bits) and Windows 7 (64bits) but node.js (Crawler) can't be installed on either Windows.
$ npm install crawler
It is sayings O/S not supported or something like that. I can only use it on Linux currently, But how to make it run on Window machines?
Have you tried the windows installer? http://nodejs.org/dist/v0.6.18/node-v0.6.18.msi
The Complete download link for when the next version comes out: http://www.nodejs.org/#download

Categories