Trouble with my repo / watchface

I started a watchface based off of a example, and I can build it locally, but it does not work to import it into cloudpebble. I keep on getting the following error: Error: ‘No file was found to satisfy the manifest filename: fonts/Jersey10-Regular.ttf’

Any ideas on how to fix this?

Thanks

1 Like

Can you attach a zip of your project folder?

1 Like

I had this issue too, I’m not actually sure what fixed it. I deleted the node_modules folder and re-zipped it and it imported fine. I don’t know if it was because I deleted that folder or if it was because I re-zipped it from Linux though

1 Like

GitHub - epl692/pebble-potsface · GitHub is the GitHub for it. It’s pretty simple, just is supposed to let me know if my hr jumps by too much to quick.

1 Like

I downloaded the repo as a zip file, deleted the node_modules folder and the build folder, zipped it again and Cloudpebble was happy with it.

1 Like

It also works if you remove the node_modules and build folder from source control, I was able to import my own fork of your repo directly from GitHub into Cloudpebble as well.

1 Like

Thanks for the report @epl692! I just fixed the underlying bug, so importing will skip those two dirs.

2 Likes

Awesome! One last bug I found, so, I was able to clone the repo, build the watchface, and make changes, but now I can’t push the changes back to the repo.

Error:

Error: 404 {"message": "Not Found", "documentation_url": "https://docs.github.com/rest/git/refs#get-all-references-in-a-namespace", "status": "404"}

1 Like

Just as a general tipp: node_modules and build folder do not belong into git. So please delete it and add it to your .gitignore file (which will be commited and pushed). :slight_smile:
Sample .gitignore file (must be place in root dir):

build/
node_modules/
1 Like

Just pushed a fix for this. Could you try it again, please?

1 Like