react-spring icon indicating copy to clipboard operation
react-spring copied to clipboard

Sample project will not build?

Open roberthchapman opened this issue 8 years ago • 2 comments

Hi, this library looks extremely useful but when you download the project to try the sample code, npm install produces many errors, what is the secret to getting it to build?

Thanks, Rob

roberthchapman avatar Sep 18 '18 16:09 roberthchapman

you mean the examples, this link? https://github.com/drcmda/react-spring/tree/master/examples

Do you want it to run inside your own projects? Then you simply npm install react-spring and import it. You don't need to build anything to use it otherwise, unless you want to try the examples. I tried to run the instructions in the examples folder and it looks like the documentation engine (docz) is crashing the build right now. You can ignore it and move on:

git clone --depth=1 https://github.com/drcmda/react-spring
cd react-spring
npm install (crashes ........ , but doesn't matter since it's just the docz builder)
cd examples
npm install
npm start

drcmda avatar Sep 18 '18 17:09 drcmda

Thanks, couldn't tell what to do when it wouldn't build, it runs fine now. Many thanks, this is an excellent library that has been really well designed to maximise what effects you can produce while still maintaining some simplicity!

roberthchapman avatar Sep 19 '18 09:09 roberthchapman