leva-minimal example throws error
Opened this issue · 1 comments
Newbie here trying to run a minimal example in order to build upon.
Steps to repro:
- Download zip of https://github.com/pmndrs/leva
- Navigate to
/leva-main/demo/src/sandboxes/leva-minimal
- Run
npm i
- Get error: "Failed to compile. Failed to load config "react-app" to extend from. Referenced from: /leva-main/.eslintrc.json"
I also tried running npm i
in /leva-main/demo
and got this error: "sh: husky: command not found"
How do we run the examples? Please add to docs assuming we are newbies :)
While your question is totally valid, there is a possibility that those Demos are not meant to be run locally since they are linked up to Code Sandbox. If you go to Repo Code > Commits, Click the latest one with a Green Checkmark, and then Find the comment from Code Sandbox bot, you can find where they are all deployed.
Interestingly enough, the latest update to main branch has a broken leva-minimal
Sandbox, so that's why I mention going to commits with the green check mark.
For example:
#402 (comment)