Resin.io with react and electron


#1

So I am using the react template provided by you guys. I keep getting the error:

To git.resin.io:gh_cliffcoding/thatmirror.git
! [remote rejected] master -> master (hook declined) ```
I am unsure of how to fix this. any help would b e greatly appreciated. 
Thank you

#3

here is the full code

Counting objects: 350, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (162/162), done.
Writing objects: 100% (350/350), 640.32 KiB | 0 bytes/s, done.
Total 350 (delta 179), reused 350 (delta 179)

[Info]     Starting build for gh_cliffcoding/thatmirror, user gh_cliffcoding
[Info]     Dashboard link: https://dashboard.resin.io/apps/589848/devices
[Info]     Building on ARM01
[Info]     Pulling old image for caching purposes
[==================================================>] 100%
[Success]  Cached image pulled in 3 seconds
[Info]     Fetching base image
[==================================================>] 100%
[Info]     Building Dockerfile.template project
[Build]    Step 1/15 : FROM resin/raspberrypi3-node:6.9.2
[Build]     ---> 772956e2bef9
[Build]    Step 2/15 : RUN sed -i "s!httpredir.debian.org!`curl -s -D - http://httpredir.debian.org/demo/debian/ | awk '/^Link:/ { print $2 }' | sed -e 's@<http://\(.*\)/debian/>;@\1@g'`!" /etc/apt/sources.list
[Build]    Using cache
[Build]     ---> a8ae34877c6c
[Build]    Step 3/15 : COPY debian-pinning /etc/apt/preferences.d/
[Build]    Using cache
[Build]     ---> 5b12f67953db
[Build]    Step 4/15 : RUN apt-get update && apt-get install -y   apt-utils   clang   xserver-xorg-core   xserver-xorg-input-all   xserver-xorg-video-fbdev   xorg   libdbus-1-dev   libgtk2.0-dev   libnotify-dev   libgnome-keyring-dev   libgconf2-dev   libasound2-dev   libcap-dev   libcups2-dev   libxtst-dev   libxss1   libnss3-dev   fluxbox   libsmbclient   libssh-4   fbset   libexpat-dev && rm -rf /var/lib/apt/lists/*
[Build]     ---> Running in 55096fad95f6
[Build]    Ign http: jessie InRelease
[Build]    Ign http: jessie-updates InRelease
[Build]    Err http: jessie Release.gpg
[Build]      Unable to connect to :http:
[Build]    Err http: jessie-updates Release.gpg
[Build]      Unable to connect to :http:
[Build]    Ign http: jessie Release
[Build]    Ign http: jessie-updates Release
[Build]    Err http: jessie/main armhf Packages
[Build]      Unable to connect to :http:
[Build]    Err http: jessie-updates/main armhf Packages
[Build]      Unable to connect to :http:
[Build]    Get:1 http://archive.raspbian.org jessie InRelease [14.9 kB]
[Build]    Get:2 http://archive.raspberrypi.org jessie InRelease [22.9 kB]
[Build]    Get:3 http://security.debian.org jessie/updates InRelease [63.1 kB]
[Build]    Ign http://resin-packages.s3-website-us-east-1.amazonaws.com resin InRelease
[Build]    Get:4 http://resin-packages.s3-website-us-east-1.amazonaws.com resin Release.gpg [801 B]
[Build]    Get:5 http://resin-packages.s3-website-us-east-1.amazonaws.com resin Release [2258 B]
[Build]    Get:6 http://archive.raspbian.org jessie/main armhf Packages [13.3 MB]
[Build]    Get:7 http://security.debian.org jessie/updates/main armhf Packages [546 kB]
[Build]    Ign http://resin-packages.s3-website-us-east-1.amazonaws.com resin Release
[Build]    Get:8 http://archive.raspbian.org jessie/contrib armhf Packages [49.5 kB]
[Build]    Get:9 http://archive.raspberrypi.org jessie/main armhf Packages [170 kB]
[Build]    Get:10 http://archive.raspbian.org jessie/non-free armhf Packages [101 kB]
[Build]    Get:11 http://archive.raspbian.org jessie/rpi armhf Packages [1297 B]
[Build]    Get:12 http://archive.raspbian.org jessie/firmware armhf Packages [1202 B]
[Build]    Get:13 http://resin-packages.s3-website-us-east-1.amazonaws.com resin/main armhf Packages [2633 B]
[Build]    Fetched 14.3 MB in 5s (2551 kB/s)
[Build]    W: GPG error: http://resin-packages.s3-website-us-east-1.amazonaws.com resin Release: The following signatures were invalid: KEYEXPIRED 1483758662 KEYEXPIRED 1483758662 KEYEXPIRED 1451428169 KEYEXPIRED 1483758662 KEYEXPIRED 1438561085 KEYEXPIRED 1483758662 KEYEXPIRED 1483758662 KEYEXPIRED 1483758662 KEYEXPIRED 1451428169 KEYEXPIRED 1483758662 KEYEXPIRED 1438561085
[Build]    W: Failed to fetch http:/debian/dists/jessie/Release.gpg  Unable to connect to :http:
[Build]    W: Failed to fetch http:/debian/dists/jessie-updates/Release.gpg  Unable to connect to :http:
[Build]    W: Failed to fetch http:/debian/dists/jessie/main/binary-armhf/Packages  Unable to connect to :http:
[Build]    W: Failed to fetch http:/debian/dists/jessie-updates/main/binary-armhf/Packages  Unable to connect to :http:
[Build]    E: Some index files failed to download. They have been ignored, or old ones used instead.
[Build]    Removing intermediate container 55096fad95f6
[Error]    Build failed: The command '/bin/sh -c apt-get update && apt-get install -y   apt-utils   clang   xserver-xorg-core   xserver-xorg-input-all   xserver-xorg-video-fbdev   xorg   libdbus-1-dev   libgtk2.0-dev   libnotify-dev   libgnome-keyring-dev   libgconf2-dev   libasound2-dev   libcap-dev   libcups2-dev   libxtst-dev   libxss1   libnss3-dev   fluxbox   libsmbclient   libssh-4   fbset   libexpat-dev && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
[Info]     Uploading successful layers to registry for caching purposes
[=================================>                 ] 66%
[Info]     Successfully updated cache.

indent preformatted text by 4 spaces

#7

Hi, I just tried cloning the repo and pushing and could verify the current master version is broken. This was reported to the team so it can be fixed asap.


#8

Hey @jcliff1473,

Seems the react fork got out of date with resin-electronjs. I’ve updated with the HEAD with resin-electronjs master, it’s pushing fine now, let me know if you encounter any other issues :slight_smile:

Cheers,
Craig


#9

Awesome! I appreciate the help, can’t wait to use it.