Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to fix : pre-defined version of 'react-script' is not compatible with latest version of Node v18.16.1 #4

Open
AWeheid opened this issue Jun 25, 2023 · 0 comments

Comments

@AWeheid
Copy link

AWeheid commented Jun 25, 2023

Hello Udacity students :)

starting from this clear Title 😁,
I've faced an issue when I was trying to run this app React-Fundamentals-C1-React-Contacts using npm start

I got this issue in the terminal :
image

This snapshot is pointing to the problem with react-script I did some searches on how to fix this and I got a solution to upgrade the react-script from "4.0.3" to latest version which currently is "5.0.1" by writing this command :
npm i react-scripts@latest

image

and it works! 😎✌🏼

I'm going to submit a pull request to update this module I'm not sure if this is a correct way to contribute. Though I will do it :)

Sorry if I'm doing this in incorrect way, please advise me if it's.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant