# Dbly-linked-list not working in Electron

**URL:** https://discourse.nodered.org/t/dbly-linked-list-not-working-in-electron/32668
**Category:** General
**Created:** [10 September 2020 01:59 UTC](https://discourse.nodered.org/t/dbly-linked-list-not-working-in-electron/32668 "2020-09-10T01:59:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![geoffatblacktusk](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/geoffatblacktusk/32/28009_2.png) [@geoffatblacktusk](https://discourse.nodered.org/u/geoffatblacktusk)
#### Post date: [10 September 2020 01:59 UTC](https://discourse.nodered.org/t/dbly-linked-list-not-working-in-electron/32668/1 "2020-09-10T01:59:33Z")

</div>

I need to remove usage of the node-red-contrib-function-npm node as I am packaging an application that is running offline.  
I have been using Electron successfully based on the package supplied by dceejay (thankyou) and I am now attempting to move two npm modules into the package, being moment and dbly-linked-list.

I can successfully build Electron with moment, but when I attempt to add dbly-linked-list the build of Electron crashes constantly. dbly-linked-list also has a package dependency of lodash.isequal, which I have also attempted to add manually in case it was not loading, but that has no effect.

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [10 September 2020 09:04 UTC](https://discourse.nodered.org/t/dbly-linked-list-not-working-in-electron/32668/2 "2020-09-10T09:04:50Z")

</div>

Not sure why that should cause so much trouble - but have you tried using the electron debugging suggestions from their site ? [https://www.electronjs.org/docs/tutorial/debugging-main-process](https://www.electronjs.org/docs/tutorial/debugging-main-process)

---

<div class="post-metadata">

### Author: ![geoffatblacktusk](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/geoffatblacktusk/32/28009_2.png) [@geoffatblacktusk](https://discourse.nodered.org/u/geoffatblacktusk)
#### Post date: [14 September 2020 04:59 UTC](https://discourse.nodered.org/t/dbly-linked-list-not-working-in-electron/32668/3 "2020-09-14T04:59:59Z")

</div>

Hi Dave, sorry my question was a bit misleading. It is not the Electron Runtime that crashes, but the build script. It deletes the Build folders and then crashes with no warnings before generating any new files.  
I have gone through the process again today, and this time I received an error message Failed to locate module "dbly-linked-list". I then copied dbly-linked-list from .node-red into electron-node-red\node-modules and had the same issue with lodash.isequal which I also copied. The build now completes and the two modules are located in the build\resources\app\node-modules, and all functions correctly at runtime.  
However, they are no longer in electron-node-red\node-modules but it builds ok now if I redo?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [13 November 2020 05:00 UTC](https://discourse.nodered.org/t/dbly-linked-list-not-working-in-electron/32668/4 "2020-11-13T05:00:07Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
