# Resin with electronjs node not running

**URL:** <https://forums.balena.io/t/resin-with-electronjs-node-not-running/1862>\
**Category:** Product support\
**Created:** [September 24, 2017, 12:56pm UTC](https://forums.balena.io/t/resin-with-electronjs-node-not-running/1862 "2017-09-24T12:56:43Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![WoodyPhil](https://avatars.discourse-cdn.com/v4/letter/w/e5b9ba/32.png) [@WoodyPhil](https://forums.balena.io/u/WoodyPhil)\
**Post date:** [September 24, 2017, 12:56pm UTC](https://forums.balena.io/t/resin-with-electronjs-node-not-running/1862/1 "2017-09-24T12:56:43Z")

</div>

When i put the electron files into the app directory it fire´s up the index.html but give me errors like

 ![image](https://global.discourse-cdn.com/balena/original/1X/9ce2ff69decefaf4f920698acab23eab579199e2.png)

In my opinion the node server is not running, but i have checked the environment variable

I´m stuck with that for a long time some help would be really nice

---

<div class="post-metadata">

**Author:** ![telphan](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@telphan](https://forums.balena.io/u/telphan)\
**Post date:** [September 25, 2017, 1:45pm UTC](https://forums.balena.io/t/resin-with-electronjs-node-not-running/1862/2 "2017-09-25T13:45:46Z")

</div>

Can we have a look at your Dockerfile?

---

<div class="post-metadata">

**Author:** ![WoodyPhil](https://avatars.discourse-cdn.com/v4/letter/w/e5b9ba/32.png) [@WoodyPhil](https://forums.balena.io/u/WoodyPhil)\
**Post date:** [September 26, 2017, 12:10pm UTC](https://forums.balena.io/t/resin-with-electronjs-node-not-running/1862/3 "2017-09-26T12:10:04Z")

</div>

Yes for sure. But the state has changed. I also got problems with pushing my code to the droplet. The only solution was to make a new profile. I granted access for 1 week. The name of the File is: shy-snow .  
The thing i want to achieve is an electron application booting up with jquery, pouchdb, pouchdb-adapter-node-websql, and pi-gpio already loaded. It would be amazing if you could help me with that.

---

<div class="post-metadata">

**Author:** ![WoodyPhil](https://avatars.discourse-cdn.com/v4/letter/w/e5b9ba/32.png) [@WoodyPhil](https://forums.balena.io/u/WoodyPhil)\
**Post date:** [October 4, 2017, 2:01pm UTC](https://forums.balena.io/t/resin-with-electronjs-node-not-running/1862/4 "2017-10-04T14:01:23Z")

</div>

Are there any updates?

---

<div class="post-metadata">

**Author:** ![willnewton](https://avatars.discourse-cdn.com/v4/letter/w/e9c0ed/32.png) [@willnewton](https://forums.balena.io/u/willnewton)\
**Post date:** [October 4, 2017, 2:15pm UTC](https://forums.balena.io/t/resin-with-electronjs-node-not-running/1862/5 "2017-10-04T14:15:58Z")

</div>

Hi,

Which device type are you using?

Are you using the resin-electronjs application template here: [https://github.com/resin-io/resin-electronjs](https://github.com/resin-io/resin-electronjs) ?

---

<div class="post-metadata">

**Author:** ![WoodyPhil](https://avatars.discourse-cdn.com/v4/letter/w/e5b9ba/32.png) [@WoodyPhil](https://forums.balena.io/u/WoodyPhil)\
**Post date:** [October 4, 2017, 2:38pm UTC](https://forums.balena.io/t/resin-with-electronjs-node-not-running/1862/6 "2017-10-04T14:38:29Z")

</div>

Yes I used this. But actually nothing is working ☹ can´t push changes to the device. It would be a charm to get this example working with jquery, pouchdb, pouchdb-adapter-node-websql, and pi-gpio. Thanks in advance for your help

---

<div class="post-metadata">

**Author:** ![willnewton](https://avatars.discourse-cdn.com/v4/letter/w/e9c0ed/32.png) [@willnewton](https://forums.balena.io/u/willnewton)\
**Post date:** [October 4, 2017, 2:40pm UTC](https://forums.balena.io/t/resin-with-electronjs-node-not-running/1862/7 "2017-10-04T14:40:05Z")

</div>

What happens when you try pushing changes to the device?

---

<div class="post-metadata">

**Author:** ![WoodyPhil](https://avatars.discourse-cdn.com/v4/letter/w/e5b9ba/32.png) [@WoodyPhil](https://forums.balena.io/u/WoodyPhil)\
**Post date:** [October 4, 2017, 2:52pm UTC](https://forums.balena.io/t/resin-with-electronjs-node-not-running/1862/8 "2017-10-04T14:52:22Z")

</div>

It fails on authentication, but I changed nothing. Not even my ssh key
