hygraph / hygraph-examples

Example projects to help you get started with Hygraph
https://hygraph.com
MIT License
614 stars 159 forks source link

[Bug]: Error after yarn start #265

Open Mart1n991 opened 1 year ago

Mart1n991 commented 1 year ago

Bug Report

Hi, I cloned cloudinary from a repo and made yarn install After everything was installed I did yarn start and this error shows in the console.

image

I tried also npm install but it was still the same.

Steps To Reproduce the error

  1. Run npx degit hygraph/hygraph-examples/uix-cloudinary-input uix-cloudinary-input
  2. Go to project directory
  3. Run yarn install or npm install
  4. Run yarn start or npm start

My environment OS: Mac OS Ventura 13.2.1 Node version: 18.9.1 Browser name and version: Google Chrome latest version

Thank you for your help.

lemehovskiy commented 11 months ago

@Mart1n991 Hello! Probably installing a fresh version of react-scripts to "5.0.1" will solve this issue. If it doesn't help, please make sure to install at least Node.js version 20+. I encountered a similar issue, and this combination resolved it for me.