# Developing for D2

**URL:** <https://discourse.nodered.org/t/developing-for-d2/90731>\
**Category:** Dashboard\
**Tags:** dashboard-2\
**Created:** [5 September 2024 09:50 UTC](https://discourse.nodered.org/t/developing-for-d2/90731 "2024-09-05T09:50:43Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bobo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobo/32/8401_2.png) [@Bobo](https://discourse.nodered.org/u/Bobo)\
**Post date:** [5 September 2024 09:50 UTC](https://discourse.nodered.org/t/developing-for-d2/90731/1 "2024-09-05T09:50:43Z")

</div>

I thought I would fork and clone the D2 repo to my dev raspberry pi so I could poke around with the v-calendar request I made a few weeks ago, which appears to have hit a bit of a road block.

Following these instructions [Contributing | Node-RED Dashboard 2.0](https://dashboard.flowfuse.com/contributing/#installing-locally) I got to the `npm run build` command and received the following error message ` The Cypress App could not be installed. Your machine does not meet the operating system requirements.`

So I'm assuming that Cypress cannot be installed on the Pi, and my efforts have also hit a road block. Is this a correct assumption?

Cheers  
Bob

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [5 September 2024 10:23 UTC](https://discourse.nodered.org/t/developing-for-d2/90731/2 "2024-09-05T10:23:45Z")

</div>

1. What version of Node are you running?
  1. [The Cypress App could not be downloaded (Can't install via NPM I on WINDOWS 2012) · Issue #6315 · cypress-io/cypress · GitHub](https://github.com/cypress-io/cypress/issues/6315) seems to suggest a use had this with Node 16, 18 but not Node 20
  2. Other comments are "are you behind a proxy" or "have network issues"?
  3. NOTE: I am using Node 18 on a Win PC and cypress installs fines

2. cypress is really only for testing so I am surprised the error came up at the `npm run build` step - most curious.

---

<div class="post-metadata">

**Author:** ![Bobo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobo/32/8401_2.png) [@Bobo](https://discourse.nodered.org/u/Bobo)\
**Post date:** [5 September 2024 10:29 UTC](https://discourse.nodered.org/t/developing-for-d2/90731/3 "2024-09-05T10:29:33Z")

</div>

1. Node.js version: v18.20.2
2. No network issues, no proxy.
3. Last section of the log where things went wrong is as follows:

```auto
1568 timing command:install Completed in 431328ms
1569 verbose stack Error: command failed
1569 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/ lib/index.js:53:27)
1569 verbose stack at ChildProcess.emit (node:events:517:28)
1569 verbose stack at maybeClose (node:internal/child_process:1098:16)
1569 verbose stack at ChildProcess._handle.onexit (node:internal/child_process:303:5)
1570 verbose pkgid cypress@13.13.3
1571 verbose cwd /home/pi/node-red-dashboard
1572 verbose Linux 6.1.21-v7+
1573 verbose node v18.20.2
1574 verbose npm v10.5.0
1575 error code 1
1576 error path /home/pi/node-red-dashboard/node_modules/cypress
1577 error command failed
1578 error command sh -c node index.js --exec install
1579 error The Cypress App could not be installed. Your machine does not meet the operating system requirements.
1579 error
1579 error https://on.cypress.io/guides/getting-started/installing-cypress#system-requirements
1579 error
1579 error ----------
1579 error
1579 error Platform: linux-ia32 (Debian - 11)
1579 error Cypress Version: 13.13.3
1580 verbose exit 1
1581 timing npm Completed in 433742ms
1582 verbose unfinished npm timer reify 1725521734599
1583 verbose unfinished npm timer reify:build 1725521942936
1584 verbose unfinished npm timer build 1725521942978
1585 verbose unfinished npm timer build:deps 1725521942986
1586 verbose unfinished npm timer build:run:postinstall 1725522128764
1587 verbose unfinished npm timer build:run:postinstall:node_modules/cypress 1725522128856
1588 verbose code 1

```

---

<div class="post-metadata">

**Author:** ![Bobo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobo/32/8401_2.png) [@Bobo](https://discourse.nodered.org/u/Bobo)\
**Post date:** [5 September 2024 10:34 UTC](https://discourse.nodered.org/t/developing-for-d2/90731/4 "2024-09-05T10:34:32Z")

</div>

If using a Pi is not the issue then at least I can look in another direction. I'll try again tomorrow.

Cheers

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [5 September 2024 13:33 UTC](https://discourse.nodered.org/t/developing-for-d2/90731/5 "2024-09-05T13:33:31Z")

</div>

I am doing contributions for dashboard D2 on a Raspberry 4 all the time without problems. Cannot remember that I have had any issues related to Cypress.

BTW nice to hear that you want to try to contribute 👍

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [5 September 2024 16:04 UTC](https://discourse.nodered.org/t/developing-for-d2/90731/6 "2024-09-05T16:04:35Z")

</div>

> Platform: linux-ia32

Is this maybe a hint (32bit)?

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [5 September 2024 16:22 UTC](https://discourse.nodered.org/t/developing-for-d2/90731/7 "2024-09-05T16:22:31Z")

</div>

> [@bakman2](#):
>
> Is this maybe a hint (32bit)?

Might be relevant. For me it works fine on aarch64 ...

---

<div class="post-metadata">

**Author:** ![Bobo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobo/32/8401_2.png) [@Bobo](https://discourse.nodered.org/u/Bobo)\
**Post date:** [6 September 2024 10:37 UTC](https://discourse.nodered.org/t/developing-for-d2/90731/8 "2024-09-06T10:37:51Z")

</div>

> [@bakman2](#):
>
> Is this maybe a hint (32bit)?

Yes, indeed, good pick up. I spun up a 64 bit Pi OS (and aside from JS heap issues which I solved) I now have a working clone of the Dashboard.

Thanks @bakman2

---

<div class="post-metadata">

**Author:** ![Bobo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobo/32/8401_2.png) [@Bobo](https://discourse.nodered.org/u/Bobo)\
**Post date:** [6 September 2024 10:38 UTC](https://discourse.nodered.org/t/developing-for-d2/90731/9 "2024-09-06T10:38:54Z")

</div>

> [@BartButenaers](#):
>
> BTW nice to hear that you want to try to contribute 👍

Baby steps 😜

---

<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:** [20 September 2024 10:39 UTC](https://discourse.nodered.org/t/developing-for-d2/90731/10 "2024-09-20T10:39:21Z")

</div>

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