Unsure how to install react native #12651
-
I was supposed to get guidance from someone in the meetup.com but lost the link. Now I'm on my own checking https://reactnative.dev/docs/environment-setup?guide=native. Please check my screenshot. I'm unsure what to do next. |
Beta Was this translation helpful? Give feedback.
Replies: 20 comments 11 replies
-
Are you looking to get set up for Android development on a Windows device, or for Windows development on a Windows device? The steps above seem to indicate the former (which FYI is better served by getting support on the core RN repo). If you're trying to target Windows, here are the steps: https://microsoft.github.io/react-native-windows/docs/getting-started |
Beta Was this translation helpful? Give feedback.
-
Hello Chris,
Do I remove all copies of react native? This page doesn't seem to tell how to download and install react native so I'm confused. Or do I just follow the steps since I already downloaded and installed native react?
…________________________________
From: Chris Glein ***@***.***>
Sent: Friday, February 2, 2024 3:22:03 AM
To: microsoft/react-native-windows ***@***.***>
Cc: SimplePerson ***@***.***>; Author ***@***.***>
Subject: Re: [microsoft/react-native-windows] Unsure how to install react native (Discussion #12651)
Are you looking to get set up for Android development on a Windows device, or for Windows development on a Windows device? The steps above seem to indicate the former (which FYI is better served by getting support on the core RN repo). If you're trying to target Windows, here are the steps: https://microsoft.github.io/react-native-windows/docs/getting-started
—
Reply to this email directly, view it on GitHub<#12651 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHNYBD5N7DTT6VJUOYPZ7UDYRPTNXAVCNFSM6AAAAABCOHDJBOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DGMZYG4YTA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello,
Upon clicking the install, I go to yet another link and end up in https://docs.npmjs.com/cli/v10/commands/npm-install Is this the correct thing to do?
If not can you list the steps?
…________________________________
From: Chris Glein ***@***.***>
Sent: 06 February 2024 00:42
To: microsoft/react-native-windows ***@***.***>
Cc: SimplePerson ***@***.***>; Author ***@***.***>
Subject: Re: [microsoft/react-native-windows] Unsure how to install react native (Discussion #12651)
React Native is distributed as source code, compiled into your app. So each app you create on your PC is going to have its own copy of the React Native source code (somewhere in node_modules/). When you delete the folder, it's all gone. Nothing's "installed" in a centralized way (although that's the term that npm uses); it's all just local on disk as loose files.
There's an exception to that if you've done a persistent global install<https://docs.npmjs.com/downloading-and-installing-packages-globally> with node (e.g. node install -g). That would have created a centralized copy that can create conflicts (in older versions<https://microsoft.github.io/react-native-windows/docs/0.65/getting-started> of our getting started guide we had instructions to navigate around that, but it hasn't been the recommended way for a while).
With that context, back to your original prompt: It looks like you're executing the command in your C:\Windows\system32 folder. That's a protected system folder and not where you're going to want to create your app (I'm guessing the command would fail if you let it go any further). Change to some other folder (e.g. C:\users\<you>\source and then run the command. And then say yes when it says it needs to install the package.
—
Reply to this email directly, view it on GitHub<#12651 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHNYBD4WXBPLZYU6NMBQZPDYSEDZHAVCNFSM6AAAAABCOHDJBOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DGNZSG42DA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello Chris,
I'm a bit sick and don't have much time to check every single google search to test everything. I just checked your link and it doesn't say anything about how to install the react native. I have just uninstalled react native.
PS C:\WINDOWS\system32> npm uninstall -g react-native-cli
up to date in 4s
I have removed all react native and chocolat folders from my c: drive. I need you to be very clear on what I should do. Now can you tell me the steps which folder to go to? I'm using Windows 11. I'm following https://reactnative.dev/docs/environment-setup for the installation. Your link https://microsoft.github.io/react-native-windows/docs/getting-started doesn't say that I should download it first. So would the steps be as follows? Can you please clarify so I know what to do.
1 follow https://reactnative.dev/docs/environment-setup to download. Can the folder be determined?
2 follow https://microsoft.github.io/react-native-windows/docs/getting-started to install.
Are these steps correct?
…________________________________
From: Chris Glein ***@***.***>
Sent: 09 February 2024 04:00
To: microsoft/react-native-windows ***@***.***>
Cc: SimplePerson ***@***.***>; Author ***@***.***>
Subject: Re: [microsoft/react-native-windows] Unsure how to install react native (Discussion #12651)
If not can you list the steps?
The steps for getting started with Windows development are here: https://microsoft.github.io/react-native-windows/docs/getting-started
Hopefully those should work for you, we test them regularly manually and with automation. Alhough machine configuration can introduce wrinkles that we try to help folks through. Setting up your install in \system32 would definitely cause a problem.
—
Reply to this email directly, view it on GitHub<#12651 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHNYBD54WYU35HODFKYWAMDYSUVEZAVCNFSM6AAAAABCOHDJBOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DIMJRHAZTA>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
@JulianHSC , it depends on your goals.
|
Beta Was this translation helpful? Give feedback.
-
Hi team,
I already stated earlier. I used (1) and I got some error saying it's not properly installed. Can you help me or not?
…________________________________
From: Vladimir Morozov ***@***.***>
Sent: 13 February 2024 03:14
To: microsoft/react-native-windows ***@***.***>
Cc: SimplePerson ***@***.***>; Mention ***@***.***>
Subject: Re: [microsoft/react-native-windows] Unsure how to install react native (Discussion #12651)
@JulianHSC<https://github.com/JulianHSC> , it depends on your goals.
1. If you want to create RN for Windows app, then you must follow the https://microsoft.github.io/react-native-windows/docs/getting-started steps. No other steps are needed. The RN docs do not support that scenario. It is only supported by the react-native-windows repo.
2. If you want to create Android app on your Windows machine, then you must follow the official RN docs for it: https://reactnative.dev/docs/environment-setup?guide=native&os=windows&platform=android
—
Reply to this email directly, view it on GitHub<#12651 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHNYBDZBCCAQB7YT6RDIHXDYTJS2BAVCNFSM6AAAAABCOHDJBOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DINBVHAYDS>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello Chris,
As soon as I click on https://microsoft.github.io/react-native-windows/docs/getting-started, it shows Make sure you have installed all of the development dependencies, where "development dependencies" goes to yet another page https://microsoft.github.io/react-native-windows/docs/rnw-dependencies and ask me to run some file called rnw-dependencies.ps1. Can you check so you can understand what I see. So do i go into https://microsoft.github.io/react-native-windows/docs/rnw-dependencies link?
And if I try to run the command, I see this. So what's happening here?
PS C:\WINDOWS\system32> npx ***@***.*** init <projectName> --version "latest"
At line:1 char:30
+ npx ***@***.*** init <projectName> --version "latest"
+ ~
The '<' operator is reserved for future use.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : RedirectionNotSupported
From: Chris Glein ***@***.***>
Sent: 14 February 2024 06:21
To: microsoft/react-native-windows ***@***.***>
Cc: SimplePerson ***@***.***>; Mention ***@***.***>
Subject: Re: [microsoft/react-native-windows] Unsure how to install react native (Discussion #12651)
1 follow https://reactnative.dev/docs/environment-setup to download. Can the folder be determined?
2 follow https://microsoft.github.io/react-native-windows/docs/getting-started to install.
Just focus on https://microsoft.github.io/react-native-windows/docs/getting-started. For Windows development you don't need any setup instructions from reactnative.dev.
Run the script linked from the top of that page: https://microsoft.github.io/react-native-windows/docs/rnw-dependencies. Run that and make sure it completes clean. It'll look like this:
image.png (view on web)<https://github.com/microsoft/react-native-windows/assets/26607885/d8c598b0-3cef-4e36-92bd-9ab2b12e1084>
After that is clean, you have all the dependencies installed on your Windows PC. Then you can follow the steps on https://microsoft.github.io/react-native-windows/docs/getting-started
Which will look like this:
npx ***@***.*** init projectName --version "latest"
cd projectName
npx react-native-windows-init --overwrite
npx react-native run-windows
(follow the steps on the website, but I've included them here to help with clarity)
After you run those steps, your app should be built and running.
—
Reply to this email directly, view it on GitHub<#12651 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHNYBD64JOCL4UO7WKWPMSLYTPRNPAVCNFSM6AAAAABCOHDJBOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DINJZGI2DQ>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
Hello Chris,
I did use the elevated command prompt. You can see that my command didn't work. Can you advice of how I should continue? As stated, this is what I got. Should I change "<projectName>"? Perhaps I should try <"Firstnativeproject"> ?? Can you advice?
PS C:\WINDOWS\system32> npx ***@***.*** init <projectName> --version "latest"
At line:1 char:30
+ npx ***@***.*** init <projectName> --version "latest"
+ ~
The '<' operator is reserved for future use.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : RedirectionNotSupported
…________________________________
From: Chris Glein ***@***.***>
Sent: 14 February 2024 22:55
To: microsoft/react-native-windows ***@***.***>
Cc: SimplePerson ***@***.***>; Mention ***@***.***>
Subject: Re: [microsoft/react-native-windows] Unsure how to install react native (Discussion #12651)
Yes, that's correct. Follow the steps to run the dependency install that ps1 (PowerShell) script in an elevated PowerShell instance.
—
Reply to this email directly, view it on GitHub<#12651 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHNYBDZDK2GFYW5VM5WCMEDYTTF6DAVCNFSM6AAAAABCOHDJBOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DINRWHEYTI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello Chris,
Please check what I tried. As stated earlier, I have NOT downloaded the react native yet. If you could, give me the steps so I can check what went wrong.
PS C:\WINDOWS\system32> cd\
PS C:\> cd C:\Z-ReactNative
PS C:\Z-ReactNative> npx ***@***.*** init "ReactNative" --version "latest"
npx : The term 'npx' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path
is correct and try again.
At line:1 char:1
+ npx ***@***.*** init "ReactNative" --version "latest"
+ ~~~
+ CategoryInfo : ObjectNotFound: (npx:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
…________________________________
From: Chris Glein ***@***.***>
Sent: 15 February 2024 00:30
To: microsoft/react-native-windows ***@***.***>
Cc: SimplePerson ***@***.***>; Mention ***@***.***>
Subject: Re: [microsoft/react-native-windows] Unsure how to install react native (Discussion #12651)
Yes, you should change "" to something without the angle brackets. You'll note in the steps I replicated above I left those out. Whatever string you provide will be the name of the folder and project within.
Also, as already specified in this thread, you do not want to run this command in C:\WINDOWS\system32. Choose a valid location on your PC where you have write access.
—
Reply to this email directly, view it on GitHub<#12651 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHNYBDYMWM6YXUZZZ2HP2M3YTTRDJAVCNFSM6AAAAABCOHDJBOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DINRYGI2TK>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello,
Please check this:
PS C:\> cd C:\Z-ReactNative
PS C:\Z-ReactNative> Set-ExecutionPolicy Unrestricted -Scope Process -Force;
iex (New-Object System.Net.WebClient).DownloadString('https://aka.ms/rnw-vs2022-deps.ps1');
Checking Free space on current drive > 15 GB OK
Checking Installed memory >= 16 GB Failed (warn)
Checking Windows version >= 10.0.17763.0 OK
Checking Developer mode is on Failed
Do you want to install? [y/N]: Y
Checking Long path support is enabled Failed
Do you want to install? [y/N]:
…________________________________
From: Julian - ***@***.***>
Sent: 15 February 2024 23:10
To: microsoft/react-native-windows ***@***.***>; microsoft/react-native-windows ***@***.***>
Cc: Mention ***@***.***>
Subject: Re: [microsoft/react-native-windows] Unsure how to install react native (Discussion #12651)
Hello Chris,
Could you reply all in the same email? I notice all my previous emails are not together. Why is this? Could you please advice if I must download react native or not? The link you gave just ask to run a command which already shows it didn't work. So now I'm unsure what to do. Could you help list them as I'm confused and unsure how to continue.
________________________________
From: Chris Glein ***@***.***>
Sent: 15 February 2024 23:00
To: microsoft/react-native-windows ***@***.***>
Cc: SimplePerson ***@***.***>; Mention ***@***.***>
Subject: Re: [microsoft/react-native-windows] Unsure how to install react native (Discussion #12651)
If the command npx does not resolve, then you still need to complete the dependency script mentioned above and have it run completely clean, as pictured.
—
Reply to this email directly, view it on GitHub<#12651 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHNYBD2AEN54PW6HCJGBA23YTYPJVAVCNFSM6AAAAABCOHDJBOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DIOBRGIYTI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello Chris,
Could you reply all in the same email? I notice all my previous emails are not together. Why is this? Could you please advice if I must download react native or not? The link you gave just ask to run a command which already shows it didn't work. So now I'm unsure what to do. Could you help list them as I'm confused and unsure how to continue.
…________________________________
From: Chris Glein ***@***.***>
Sent: 15 February 2024 23:00
To: microsoft/react-native-windows ***@***.***>
Cc: SimplePerson ***@***.***>; Mention ***@***.***>
Subject: Re: [microsoft/react-native-windows] Unsure how to install react native (Discussion #12651)
If the command npx does not resolve, then you still need to complete the dependency script mentioned above and have it run completely clean, as pictured.
—
Reply to this email directly, view it on GitHub<#12651 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHNYBD2AEN54PW6HCJGBA23YTYPJVAVCNFSM6AAAAABCOHDJBOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DIOBRGIYTI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello Chris,
Do you have a contact number? What you say doesn't work. Check this again. It stays stuck for the second "Do you want to install? [y/N]: Y". What do I do now?
PS C:\Z-ReactNative> Set-ExecutionPolicy Unrestricted -Scope Process -Force;
PS C:\Z-ReactNative> Set-ExecutionPolicy Unrestricted -Scope Process -Force;
iex (New-Object System.Net.WebClient).DownloadString('https://aka.ms/rnw-vs2022-deps.ps1');
Checking Free space on current drive > 15 GB OK
Checking Installed memory >= 16 GB Failed (warn)
Checking Windows version >= 10.0.17763.0 OK
Checking Developer mode is on OK
Checking Long path support is enabled Failed
Do you want to install? [y/N]: y
Checking Visual Studio 2022 (>= 17.3) & req. components Failed
Do you want to install? [y/N]: Y
…________________________________
From: Chris Glein ***@***.***>
Sent: 16 February 2024 01:08
To: microsoft/react-native-windows ***@***.***>
Cc: SimplePerson ***@***.***>; Mention ***@***.***>
Subject: Re: [microsoft/react-native-windows] Unsure how to install react native (Discussion #12651)
For the missing items you reply "Y" to, it will apply those. When you run the script a second time, it should run clean on the things it installed/modified.
—
Reply to this email directly, view it on GitHub<#12651 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHNYBDYIRZH2VTHTBBDVXJLYTY6I3AVCNFSM6AAAAABCOHDJBOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DIOBTGAZTI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello,
Do I remove my Visual Studio, which is already the latest? And reinstall?
…________________________________
From: Chris Glein ***@***.***>
Sent: Saturday, February 17, 2024 2:03:18 AM
To: microsoft/react-native-windows ***@***.***>
Cc: SimplePerson ***@***.***>; Mention ***@***.***>
Subject: Re: [microsoft/react-native-windows] Unsure how to install react native (Discussion #12651)
If the Visual Studio install never completes (keep in mind it may take some time), then you can fall back on the manual install instructions here:
https://microsoft.github.io/react-native-windows/docs/rnw-dependencies#install-the-development-dependencies
(Expand "Manual setup instructions")
But first I'd check if this workaround works for you: #12715<#12715>
—
Reply to this email directly, view it on GitHub<#12651 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHNYBD436F6K3CFO5ZUXQ3TYT6NOBAVCNFSM6AAAAABCOHDJBOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DIOJVGY3DI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello Chris,
I've installed the items in the manual list. There's some improvement in the installation but it still doesn't work. I can now see Node.js, something I didn't see earlier. Please check the updates and advice further:
PS C:\Z-ReactNative> Set-ExecutionPolicy Unrestricted -Scope Process -Force;
iex (New-Object System.Net.WebClient).DownloadString('https://aka.ms/rnw-vs2022-deps.ps1');
Checking Free space on current drive > 15 GB OK
Checking Installed memory >= 16 GB Failed (warn)
Checking Windows version >= 10.0.17763.0 OK
Checking Developer mode is on OK
Checking Long path support is enabled OK
Checking Visual Studio 2022 (>= 17.3) & req. components OK
Checking Node.js (LTS, >= 18.0) Failed
Do you want to install? [y/N]: Y
WARNING: There was a problem trying to install Node.js (LTS, >= 18.0). Re-run with -Debug for detai
ls.
Checking Yarn Failed
Do you want to install? [y/N]: Y
Checking .NET SDK (LTS, = 6.0) Failed
Do you want to install? [y/N]:
…________________________________
From: Chris Glein ***@***.***>
Sent: 17 February 2024 08:14
To: microsoft/react-native-windows ***@***.***>
Cc: SimplePerson ***@***.***>; Mention ***@***.***>
Subject: Re: [microsoft/react-native-windows] Unsure how to install react native (Discussion #12651)
Probably not. But you'll need to install different sub-packages for Visual Studio, as outlined by the manual steps.
—
Reply to this email directly, view it on GitHub<#12651 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHNYBD6H7FUI6KZUYQU4CATYT7Y7XAVCNFSM6AAAAABCOHDJBOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DIOJYGA2DO>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello Chris,
Can you advice whilst I search and try to see what the problem might be? Is this some possibility or is this definitely the problem?
…________________________________
From: Chris Glein ***@***.***>
Sent: 21 February 2024 03:39
To: microsoft/react-native-windows ***@***.***>
Cc: SimplePerson ***@***.***>; Mention ***@***.***>
Subject: Re: [microsoft/react-native-windows] Unsure how to install react native (Discussion #12651)
Checking Installed memory >= 16 GB Failed (warn)
This is concerning. Your dev machine may not have enough memory.
WARNING: There was a problem trying to install Node.js (LTS, >= 18.0). Re-run with -Debug for details.
You're going to want to figure out why Node isn't installing. This script uses winget for installation. You can search around for details on how to install node.js with winget and see if you get further.
—
Reply to this email directly, view it on GitHub<#12651 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHNYBD577NUHEWMA6HKGHWTYUT3XPAVCNFSM6AAAAABCOHDJBOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DKMZUGQ2TO>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello Chris,
I found https://www.how2shout.com/how-to/how-to-install-node-js-and-npm-on-windows-10-or-11-using-cmd.html and tried this. There's lots of unreadable text but useful information is at the end. What do I do next?
PS C:\Z-ReactNative> winget search node.js
-
██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 1024
KB / 4.89 MB
████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 2.00
MB / 4.89 MB
██████████████████▒▒▒▒▒▒▒▒▒▒▒▒ 3.00
MB / 4.89 MB
████████████████████████▒▒▒▒▒▒ 4.00
MB / 4.89 MB
██████████████████████████████ 4.89
MB / 4.89 MB
â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’ 0%
â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’ 0%
â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’ 1%
â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’ 2%
â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’ 3%
█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 4%
█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 5%
█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 6%
██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 7%
██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 8%
██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 9%
███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 10%
███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 11%
███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 12%
███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 13%
████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 14%
████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 15%
████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 16%
█████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 17%
█████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 18%
█████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 19%
██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 20%
██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 21%
██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 22%
██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 23%
███████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 24%
███████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 25%
███████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 26%
████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 27%
████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 28%
████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 28%
█████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 30%
█████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 31%
█████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 32%
█████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 33%
██████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 34%
██████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 35%
██████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 36%
███████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 37%
███████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 38%
███████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 39%
████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 40%
████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 41%
████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 42%
████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 43%
█████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 44%
█████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 45%
█████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 46%
██████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 47%
██████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 48%
██████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 49%
███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 50%
███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 51%
███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 52%
███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 53%
████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 54%
████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 55%
████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 56%
█████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒ 56%
█████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒ 57%
█████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒ 59%
██████████████████▒▒▒▒▒▒▒▒▒▒▒▒ 60%
██████████████████▒▒▒▒▒▒▒▒▒▒▒▒ 61%
██████████████████▒▒▒▒▒▒▒▒▒▒▒▒ 62%
██████████████████▒▒▒▒▒▒▒▒▒▒▒▒ 63%
███████████████████▒▒▒▒▒▒▒▒▒▒▒ 64%
███████████████████▒▒▒▒▒▒▒▒▒▒▒ 65%
███████████████████▒▒▒▒▒▒▒▒▒▒▒ 66%
████████████████████▒▒▒▒▒▒▒▒▒▒ 67%
████████████████████▒▒▒▒▒▒▒▒▒▒ 68%
████████████████████▒▒▒▒▒▒▒▒▒▒ 69%
█████████████████████▒▒▒▒▒▒▒▒▒ 70%
█████████████████████▒▒▒▒▒▒▒▒▒ 71%
█████████████████████▒▒▒▒▒▒▒▒▒ 72%
███████████████████████▒▒▒▒▒▒▒ 79%
████████████████████████▒▒▒▒▒▒ 80%
██████████████████████████▒▒▒▒ 88%
█████████████████████████████▒ 99%
█████████████████████████████▒ 99%
██████████████████████████████ 100%
Name Id Version Match Source
---------------------------------------------------------
Node.js OpenJS.NodeJS 21.6.1 winget
Volta Volta.Volta 1.1.1 Tag: node.js winget
Nodist Nodist.Nodist 0.10.3 Tag: node.js winget
Node.js LTS OpenJS.NodeJS.LTS 20.11.1 winget
…________________________________
From: Chris Glein ***@***.***>
Sent: 21 February 2024 03:39
To: microsoft/react-native-windows ***@***.***>
Cc: SimplePerson ***@***.***>; Mention ***@***.***>
Subject: Re: [microsoft/react-native-windows] Unsure how to install react native (Discussion #12651)
Checking Installed memory >= 16 GB Failed (warn)
This is concerning. Your dev machine may not have enough memory.
WARNING: There was a problem trying to install Node.js (LTS, >= 18.0). Re-run with -Debug for details.
You're going to want to figure out why Node isn't installing. This script uses winget for installation. You can search around for details on how to install node.js with winget and see if you get further.
—
Reply to this email directly, view it on GitHub<#12651 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHNYBD577NUHEWMA6HKGHWTYUT3XPAVCNFSM6AAAAABCOHDJBOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DKMZUGQ2TO>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello @JulianHSC, can you detail the steps you took, from creating the project to termination? |
Beta Was this translation helpful? Give feedback.
-
Hello Victor,
I originally followed https://reactnative.dev/docs/environment-setup where it stated react native 0.7.3 (this is what i remember) was not installed. Then I found you and you said not to use this website. I have not successfully installed React Native since I started. That's why it's better for you to share your email and contact me. Then you can help check what my problem is.
…________________________________
From: Victor Guilherme ***@***.***>
Sent: 21 February 2024 11:05
To: microsoft/react-native-windows ***@***.***>
Cc: SimplePerson ***@***.***>; Mention ***@***.***>
Subject: Re: [microsoft/react-native-windows] Unsure how to install react native (Discussion #12651)
Hello @JulianHSC<https://github.com/JulianHSC>, can you detail the steps you took, from creating the project to termination?
—
Reply to this email directly, view it on GitHub<#12651 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHNYBD6W4J6JIHLLGA6SOITYUVQBPAVCNFSM6AAAAABCOHDJBOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DKMZXGY4TO>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello Victor,
My hardware system can only insert 2 memory chips. So I don't think i can get it to 16 GB or more. Do you have a virtual system you can recommend?
…________________________________
From: Julian - ***@***.***>
Sent: 21 February 2024 13:48
To: microsoft/react-native-windows ***@***.***>; microsoft/react-native-windows ***@***.***>
Cc: Mention ***@***.***>
Subject: Re: [microsoft/react-native-windows] Unsure how to install react native (Discussion #12651)
Hello Victor,
I originally followed https://reactnative.dev/docs/environment-setup where it stated react native 0.7.3 (this is what i remember) was not installed. Then I found you and you said not to use this website. I have not successfully installed React Native since I started. That's why it's better for you to share your email and contact me. Then you can help check what my problem is.
________________________________
From: Victor Guilherme ***@***.***>
Sent: 21 February 2024 11:05
To: microsoft/react-native-windows ***@***.***>
Cc: SimplePerson ***@***.***>; Mention ***@***.***>
Subject: Re: [microsoft/react-native-windows] Unsure how to install react native (Discussion #12651)
Hello @JulianHSC<https://github.com/JulianHSC>, can you detail the steps you took, from creating the project to termination?
—
Reply to this email directly, view it on GitHub<#12651 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHNYBD6W4J6JIHLLGA6SOITYUVQBPAVCNFSM6AAAAABCOHDJBOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DKMZXGY4TO>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Issue solved. |
Beta Was this translation helpful? Give feedback.
React Native is distributed as source code, compiled into your app. So each app you create on your PC is going to have its own copy of the React Native source code (somewhere in
node_modules/
). When you delete the folder, it's all gone. Nothing's "installed" in a centralized way (although that's the term that npm uses); it's all just local on disk as loose files.There's an exception to that if you've done a persistent global install with node (e.g.
node install -g
). That would have created a centralized copy that can create conflicts (in older versions of our getting started guide we had instructions to navigate around that, but it hasn't been the recommended way for a while).With that …