facebook / flipper

A desktop debugging platform for mobile developers.
https://fbflipper.com/
MIT License
13.25k stars 950 forks source link

Question: how can install "Flipper-server.tgz" on windows? #5619

Open fkazemi5236 opened 1 month ago

fkazemi5236 commented 1 month ago

How can I install this file in the system? I need a step by step guide, but the site's documentation is not complete and has no mention of installing it

win 10 react-naticve 0.73.6

karthikeyan1241997 commented 1 month ago

Same problem, unable to use flipper desktop on windows

FrozenSamurai commented 1 month ago

I have recently installed Flipper on my Windows 10 PC

I followed the steps below:

Step 1: Install OpenSSL in your windows

A compatible OpenSSL for Windows can be downloaded from slproweb.com or from Chocolatey with choco install openssl

Step 2: Install Watchman in your windows

Install the latest release of Watchman from watchman Github or from Chocolatey with choco install watchman

Step 3: Running Flipper

1. Install the Flipper Package

[!NOTE] If you have installed OpenSSL properly the project will run without any issues and will open in your browser.

2. Flipper will first open in the browser and then will be installed in your windows PC

3. Run your app in devmode the Flipper will now auto detect the app

epikhighs commented 2 weeks ago

when i try yarn install using bash terminal, I get the following error

[1/4] Resolving packages...
error Couldn't find any versions for "flipper-common" that matches "0.254.0"
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

when I try to run it on powershell, then it asks me to select the flipper-common version but it only has up to 0.212.0 and not the latest 0.254.0. npm registry has up to 0.212.0 (https://www.npmjs.com/package/flipper-common/v/0.147.1?activeTab=versions). Anyways, I chose 0.212.0 and it proceeded to install successfully. Then, when I run yarn start, flipper shows up but with the correct version in the flipper app (0.254.0). So I guess it does work. Hope this helps.

featlast commented 2 weeks ago

@FrozenSamurai , Greetings bro, I was carrying out the steps you mentioned above and I get the following error:
image In another instance I also execute the steps indicated by the Flipper Page and I get the following error, any recommendations? Windows 11 PRO OS image

Recientemente instalé Flipper en mi PC con Windows 10

Seguí los pasos a continuación:

Paso 1: instala OpenSSL en tu Windows

Se puede descargar un OpenSSL compatible para Windows desde slproweb.com o desde Chocolatey conchoco install openssl

Paso 2: Instala Watchman en tu Windows

Instale la última versión de Watchman desde Watchman Github o desde Chocolatey conchoco install watchman

Paso 3: Ejecutar Flipper

1. Instale el paquete Flipper

  • Extraiga el .tgzarchivo en cualquier carpeta.
  • Abra cmd para esa carpeta o abra la carpeta en VSCode y ejecute yarnyyarn start

Nota

Si ha instalado OpenSSL correctamente, el proyecto se ejecutará sin problemas y se abrirá en su navegador.

2. Flipper se abrirá primero en el navegador y luego se instalará en su PC con Windows.

3. Ejecute su aplicación en modo de desarrollo y Flipper ahora detectará automáticamente la aplicación.

FrozenSamurai commented 2 weeks ago

Greatings @featlast

I believe this problem could occur if packages are not installed properly. Try the following steps:

  1. Delete node_modules
  2. Run yarn again in the terminal:

    rm -rf node_modules
    yarn

If the issue persists, manually install the chalk module using the following command:

yarn add chalk

featlast commented 2 weeks ago

Greatings @FrozenSamurai

I just carried out the manual installation process of chalk as you indicated and it worked, but then I carried out the yarn start and an error appears: yarn talk but then I run yarn start and I get the following error: yarn start and also perform the test with the npx flipper-server command and the same yarn start error appears: npx flipper serve Any additional recommendations?