Instantly share code, notes, and snippets.
gaearon/instructions.md Secret
Save gaearon/4064d3c23a77c74a3614c498a8bb1c5f to your computer and use it in GitHub Desktop.
alireza97d commentedDec 2, 2022
Thank you :)
blocklee commentedDec 10, 2022
michalosMiko commentedDec 15, 2022
- npm install create-react-app
thanks
H1365 commentedDec 18, 2022
Yes
frijolitox commentedFeb 2, 2023
Jay200009 commentedFeb 4, 2023
👍
Jay200009 commentedFeb 4, 2023
Nice 🙂
Jay200009 commentedFeb 4, 2023
Thanks
Ali-MU-1990 commentedFeb 24, 2023
Junior620 commentedJun 5, 2023
Sade28 commentedJun 10, 2023
bulutuu commentedJul 22, 2023
npx create-react-app my-app cd my-app npm start
Vandena2 commentedAug 4, 2023
### I am getting this error:
up to date, audited 76 packages in 2s
2 packages are looking for funding
runnpm fund
for details
3 high severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Runnpm audit
for details.
Kumar96487 commentedSep 10, 2023
Kumar96487 commentedSep 10, 2023
MALIKSHAHID786 commentedSep 21, 2023
Thanks a lot for this post, Its help
Hi
Kumar96487 commentedSep 22, 2023
hii
sushmita12345 commentedSep 22, 2023
For everybody who had or may have a problem with installation, here is one example of a solutionhttps://stackoverflow.com/questions/70358474/error-while-creating-new-react-app-you-are-running-create-react-app-4-0-3-w
It works for me. Thanks😇
thenafeeskausar commentedOct 16, 2023
Try this one if your npm is 6+
npm init react-app my-app
npm init is available in npm 6+
The problems listed above aren't all that serious. This is taking place as a result of an upgrade to the react version.
jamessv commentedOct 18, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Try this code
npm init react-app my-app or npm create-react-app my-app
cd my-app
npm start
AminuAs7 commentedOct 31, 2023
Gteat
WisdomNnam commentedNov 4, 2023
jamessv commentedNov 5, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Please use this code
npm create-react-app my-app
cd my-app
npm start
Lashish commentedJan 7, 2024
For everybody who had or may have a problem with installation, here is one example of a solutionhttps://stackoverflow.com/questions/70358474/error-while-creating-new-react-app-you-are-running-create-react-app-4-0-3-w
It works for me. Thanks😇
thanks
alexjalonso7777 commentedOct 11, 2024
Thank you so much. It was helpful me.
25thOliver commentedOct 22, 2024
ArnoldFlexy commentedOct 22, 2024
Hi
The error in the image is related to an issue with Node.js's OpenSSL module, specifically regarding digital envelope routines:unsupported. This often occurs when the version of OpenSSL bundled with Node.js is incompatible with certain modules or cryptographic functions being used by the project.
Here are a few steps to resolve this issue:
- Upgrade react-scripts: Sometimes, older versions of react-scripts can cause compatibility issues. Try updating react-scripts to the latest version:
npm install react-scripts@latest
- Downgrade Node.js Version: If you're using Node.js version 20.x, it may not be compatible with some older packages. Try downgrading Node.js to an LTS version (such as 18.x or 16.x):
nvm install 18
nvm use 18
- Set OpenSSL Legacy Provider: Newer versions of Node.js have stricter defaults for OpenSSL. You can force Node.js to use legacy OpenSSL providers by setting the following environment variable:
export NODE_OPTIONS=--openssl-legacy-provider
Alternatively, you can add it directly to your package.json start script:
"scripts": {
"start": "react-scripts start --openssl-legacy-provider"
}
- Reinstall Node Modules: After making any of the above changes, it's a good idea to delete the node_modules folder and package-lock.json file and then reinstall the dependencies:
rm -rf node_modules package-lock.json
npm install
Try one or more of these solutions to resolve the issue.