Shopify / draggable

The JavaScript Drag & Drop library your grandparents warned you about.
https://shopify.github.io/draggable
MIT License
18k stars 1.09k forks source link

Here's some errors when yarn #467

Closed sukai-cheng closed 3 years ago

sukai-cheng commented 3 years ago

1. The problem when I met

this is a question when I run the project on my pc

2. Describe Problem

when I download this project and run the code, it's reporting some errors, I just want to run its example correctly

3. what I have done

I just do this codes

cd draggable-master/examples
yarn start 

it's just a little wrong, but I can't drag anything... I have tried anything I can do, but these elements don't respond anything no matter how I drag or click

image

here's some pictures yarn start

chrome reveal errors

sukai-cheng commented 3 years ago

@tsov

bahung1221 commented 3 years ago

Hi @sukai-cheng ,

Please run yarn start on root folder instead of example folder (documentation):

git clone https://github.com/Shopify/draggable.git
cd draggable
yarn && yarn start

Let me know if you still facing that issue 🍺