googlecreativelab / astrowand

Draw shapes in the sky to form constellations with TensorFlow and a microcontroller.
https://experiments.withgoogle.com/astrowand
Apache License 2.0
18 stars 6 forks source link

Unable to install the astrowand project (and other tinyml projects) locally and run it #1

Closed We-Jay closed 3 years ago

We-Jay commented 3 years ago

I have been trying to run the code for Astrowand locally, but have been unsuccessful so for.

I understand that it has been built using Svelte. So I am basically doing the following:

Download the code. Go into the astrowand/web directory and then running nmp install.

But this step is yielding many errors and I cannot proceed to npm run dev.

I also ran yarn install and I am getting similar issues. (Both the screenshots included)

Screenshot 2021-06-30 at 1 45 39 PM Screenshot 2021-06-30 at 1 48 28 PM

I am stuck. Is there any instruction that will help us run this code locally so that we can experiment further? Thanks in advance.

rikard-io commented 3 years ago

@We-Jay should be working now. Just run npm / yarn install again, no need to clone / download this repo again.

rikard-io commented 3 years ago

@We-Jay actually, might have spoken too soon. Yarn still seem to throw some issues. Was able to get around it by running yarn add -D https://github.com/googlecreativelab/tf4micro-motion-kit before yarn install but will look into it further.

rikard-io commented 3 years ago

if you do a fresh clone / download and run yarn install it should work now.

We-Jay commented 3 years ago

I first tried with npm install, and am still facing the same error issues.

When I tried, yarn install, it compiled without any issues.

And then I used npm run dev and it runs nicely. Alternatively, I used npm start, and it runs like a charm.

Thanks a lot, Rikard for looking into it.

rikard-io commented 3 years ago

Glad you got it to work! Thank you for reporting.

Fixed npm issue here: https://github.com/googlecreativelab/tf4micro-motion-kit/pull/7

Closing ticket