YIZHUANG / react-multi-carousel

A lightweight production-ready Carousel that rocks supports multiple items and server-side rendering with no dependency. Bundle size 2kb.
MIT License
1.3k stars 293 forks source link

Can't run locally #450

Open henrythemann opened 2 months ago

henrythemann commented 2 months ago

Cloned the repo and followed the steps in the README (cd dev; npm install -- package.json; npm run dev), but I was fighting through errors for an hour before giving up.

The errors were related to SSL stuff when running npm run dev, which I tried to get around by using nvm with node 16 and also using a newer node with this command export NODE_OPTIONS=--openssl-legacy-provider. Neither solution worked. I run npm run dev, and just get this message over and over:

Client pings, but there's no entry for page: /_error
Client pings, but there's no entry for page: /_error
Client pings, but there's no entry for page: /_error

I even tried adding an error.tsx file in the pages folder, but that had no effect.

Seems like the README could be a bit more thorough... What version of node are we actually supposed to use? And how do I get around all these errors?