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

Node setup doesn't support Node.js 20 #213

Closed
stanulilic opened this issue May 29, 2023 · 4 comments
Closed

Node setup doesn't support Node.js 20 #213

stanulilic opened this issue May 29, 2023 · 4 comments

Comments

@stanulilic
Copy link

Hi, I just run node setup on my system(MacOS Ventura), which has Node.js 20 installed. It gives me an error and recommends that I use Node.js 18 or below. Even more confusing is that it recommends that I update to the latest version of Node. But am already using the latest version:

stanley@MACOOKs-MBP react-hooks % node setup
▶️  Starting workshop setup...
      Running the following command: npx "https://gist.github.com/kentcdodds/bb452ffe53a5caa3600197e1d8005733" -q
    ▶️  Starting: System Validation
          Ensuring the correct versions of tools are installed on this computer.
          Running the following command: npx "https://gist.github.com/kentcdodds/abbc32701f78fa70298d444c2303b6d9"
There were errors validating the compatibility of this computer:

    This computer has [email protected] installed, but node@14 || 16 || 18 is required. Please update node: https://nodejs.org


If you would like to just ignore this error, then feel free to do so and install dependencies as you normally would in "/Users/stanley/react-hooks". Just know that things may not work properly if you do...
    🚨  Failure: System Validation. Please review the messages above for information on how to troubleshoot and resolve this issue.
@kentcdodds
Copy link
Member

This should be fixed now. Thanks for reporting!

@kentcdodds
Copy link
Member

@all-contributors please add @stanulilic for bugs

@allcontributors
Copy link
Contributor

@kentcdodds

I've put up a pull request to add @stanulilic! 🎉

@stanulilic
Copy link
Author

This should be fixed now. Thanks for reporting!

That's great news. 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

2 participants