# Problème de "node" / ARM / banana pi M64

**URL:** https://forum.duniter.org/t/probleme-de-node-arm-banana-pi-m64/5143
**Category:** Duniter-v1
**Created:** [20 September 2018 07:17 UTC](https://forum.duniter.org/t/probleme-de-node-arm-banana-pi-m64/5143 "2018-09-20T07:17:44Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Attilax](https://forum.duniter.org/user_avatar/forum.duniter.org/attilax/32/4237_2.png) [@Attilax](https://forum.duniter.org/u/Attilax)
#### Post date: [20 September 2018 07:17 UTC](https://forum.duniter.org/t/probleme-de-node-arm-banana-pi-m64/5143/1 "2018-09-20T07:17:44Z")

</div>

J’ai installé armbian (basé sur debian stretch) sur un banana pi M64, et je n’arrive pas à installer duniter dessus. Quand je le lance il me dit :

/usr/bin/duniter: ligne 36: /opt/duniter//node/bin/node: Aucun fichier ou dossier de ce type  
/opt/duniter//node/bin/node v8 or v9 is required

J’ai installé nodejs version 8 mais rien n’y fait.

Pourtant ça marche sur raspberry avec la version arm 1.6.23, je ne comprends pas pourquoi ça bloque sur banana…

Quelqu’un a une idée de ce que je dois faire pour que ça marche ?

---

<div class="post-metadata">

### Author: ![Moul](https://forum.duniter.org/user_avatar/forum.duniter.org/moul/32/9145_2.png) [@Moul](https://forum.duniter.org/u/Moul)
#### Post date: [20 September 2018 07:26 UTC](https://forum.duniter.org/t/probleme-de-node-arm-banana-pi-m64/5143/2 "2018-09-20T07:26:29Z")

</div>

Peux-tu donner le résultat de `node -v`.

---

<div class="post-metadata">

### Author: ![cgeek](https://forum.duniter.org/user_avatar/forum.duniter.org/cgeek/32/279_2.png) [@cgeek](https://forum.duniter.org/u/cgeek)
#### Post date: [20 September 2018 10:56 UTC](https://forum.duniter.org/t/probleme-de-node-arm-banana-pi-m64/5143/3 "2018-09-20T10:56:19Z")

</div>

Et aussi : es-tu passé par l’installeur duniter ARM .deb ?

---

<div class="post-metadata">

### Author: ![Attilax](https://forum.duniter.org/user_avatar/forum.duniter.org/attilax/32/4237_2.png) [@Attilax](https://forum.duniter.org/u/Attilax)
#### Post date: [20 September 2018 16:40 UTC](https://forum.duniter.org/t/probleme-de-node-arm-banana-pi-m64/5143/4 "2018-09-20T16:40:10Z")

</div>

ça donne :  
v8.12.0

---

<div class="post-metadata">

### Author: ![Attilax](https://forum.duniter.org/user_avatar/forum.duniter.org/attilax/32/4237_2.png) [@Attilax](https://forum.duniter.org/u/Attilax)
#### Post date: [20 September 2018 16:44 UTC](https://forum.duniter.org/t/probleme-de-node-arm-banana-pi-m64/5143/5 "2018-09-20T16:44:03Z")

</div>

l’installateur ? Non, j’ai fait ça à la main, J’ai pris le duniter pour arm 1.6.23 et j’ai fait un petit dd sur une micro sd… C’est quoi cet installateur ? Je l’ai pas vu.

---

<div class="post-metadata">

### Author: ![vincentux](https://forum.duniter.org/user_avatar/forum.duniter.org/vincentux/32/172_2.png) [@vincentux](https://forum.duniter.org/u/vincentux)
#### Post date: [20 September 2018 16:46 UTC](https://forum.duniter.org/t/probleme-de-node-arm-banana-pi-m64/5143/6 "2018-09-20T16:46:25Z")

</div>

ici peut-être 😉

> **[Tags · nodes / typescript / duniter · GitLab](https://git.duniter.org/nodes/typescript/duniter/-/tags)**
>
> Crypto-currency software to operate Ğ1 libre currency

---

<div class="post-metadata">

### Author: ![Moul](https://forum.duniter.org/user_avatar/forum.duniter.org/moul/32/9145_2.png) [@Moul](https://forum.duniter.org/u/Moul)
#### Post date: [20 September 2018 16:46 UTC](https://forum.duniter.org/t/probleme-de-node-arm-banana-pi-m64/5143/7 "2018-09-20T16:46:29Z")

</div>

As-tu installé à partir du paquet Debian ?

---

<div class="post-metadata">

### Author: ![Attilax](https://forum.duniter.org/user_avatar/forum.duniter.org/attilax/32/4237_2.png) [@Attilax](https://forum.duniter.org/u/Attilax)
#### Post date: [20 September 2018 16:48 UTC](https://forum.duniter.org/t/probleme-de-node-arm-banana-pi-m64/5143/8 "2018-09-20T16:48:03Z")

</div>

Ouiiii ! Il m’avait échappé celui-là, je vais tenter la 1.6.25 en arm, je vous dis ce que ça donne…  
Merci !

---

<div class="post-metadata">

### Author: ![Attilax](https://forum.duniter.org/user_avatar/forum.duniter.org/attilax/32/4237_2.png) [@Attilax](https://forum.duniter.org/u/Attilax)
#### Post date: [20 September 2018 16:50 UTC](https://forum.duniter.org/t/probleme-de-node-arm-banana-pi-m64/5143/9 "2018-09-20T16:50:54Z")

</div>

j’ai utilisé le paquet pour arm 1.6.23, qui tourne nickel sur raspbian. Je ne peux pas installer directement debian sur un raspberry ou un banana, il faut une version arm (raspbian, xbian, armbian, bananian). Mais les dépôts sont reliés à la version debian stretch.

---

<div class="post-metadata">

### Author: ![Attilax](https://forum.duniter.org/user_avatar/forum.duniter.org/attilax/32/4237_2.png) [@Attilax](https://forum.duniter.org/u/Attilax)
#### Post date: [20 September 2018 21:33 UTC](https://forum.duniter.org/t/probleme-de-node-arm-banana-pi-m64/5143/10 "2018-09-20T21:33:51Z")

</div>

Raté ☹

ça donne toujours :

/usr/bin/duniter: line 36: /opt/duniter//node/bin/node: No such file or directory  
/opt/duniter//node/bin/node v8 or v9 is required

Même avec la version 1.6.25

---

<div class="post-metadata">

### Author: ![Moul](https://forum.duniter.org/user_avatar/forum.duniter.org/moul/32/9145_2.png) [@Moul](https://forum.duniter.org/u/Moul)
#### Post date: [21 September 2018 08:09 UTC](https://forum.duniter.org/t/probleme-de-node-arm-banana-pi-m64/5143/11 "2018-09-21T08:09:50Z")

</div>

Il y a peut être un problème de packaging pour la version ARM. La version de Nodejs intégrée n’est peut-être pas bonne.

---

<div class="post-metadata">

### Author: ![Attilax](https://forum.duniter.org/user_avatar/forum.duniter.org/attilax/32/4237_2.png) [@Attilax](https://forum.duniter.org/u/Attilax)
#### Post date: [21 September 2018 17:38 UTC](https://forum.duniter.org/t/probleme-de-node-arm-banana-pi-m64/5143/12 "2018-09-21T17:38:25Z")

</div>

Possible, mais la version release marche pas non plus sur le banana, alors qu’elle tourne sur mon raspberry !  
En plus, j’ai réinstallé nodejs, puis réinstallé duniter.  
Je comprends pas pourquoi il trouve pas ce putain de node.

---

<div class="post-metadata">

### Author: ![cgeek](https://forum.duniter.org/user_avatar/forum.duniter.org/cgeek/32/279_2.png) [@cgeek](https://forum.duniter.org/u/cgeek)
#### Post date: [21 September 2018 18:45 UTC](https://forum.duniter.org/t/probleme-de-node-arm-banana-pi-m64/5143/13 "2018-09-21T18:45:58Z")

</div>

Bah déjà, que donne un :

```
ls -al /opt/duniter//node/bin/node

```

?

---

<div class="post-metadata">

### Author: ![Attilax](https://forum.duniter.org/user_avatar/forum.duniter.org/attilax/32/4237_2.png) [@Attilax](https://forum.duniter.org/u/Attilax)
#### Post date: [21 September 2018 23:16 UTC](https://forum.duniter.org/t/probleme-de-node-arm-banana-pi-m64/5143/14 "2018-09-21T23:16:54Z")

</div>

> [@cgeek](#):
>
> ls -al /opt/duniter//node/bin/node

ça donne :

-rwxr-xr-x 1 root root 31616583 juin 30 10:35 /opt/duniter//node/bin/node

Ça t’évoque vaguement quelque chose ou rien ?

---

<div class="post-metadata">

### Author: ![cgeek](https://forum.duniter.org/user_avatar/forum.duniter.org/cgeek/32/279_2.png) [@cgeek](https://forum.duniter.org/u/cgeek)
#### Post date: [22 September 2018 15:28 UTC](https://forum.duniter.org/t/probleme-de-node-arm-banana-pi-m64/5143/15 "2018-09-22T15:28:46Z")

</div>

C’est curieux comme retour, étant donné que au tout début tu nous indiquais :

```
/opt/duniter//node/bin/node: Aucun fichier ou dossier de ce type

```

Je t’invite donc à nous donner le retour de :

```
/opt/duniter//node/bin/node -v

```

Par ailleurs voici le code de la commande système `duniter`, ça pourra aider à comprendre :

```bash
duniter() {

	local NODE
	local LOGS_FILE

	if [-z "$DEV_MODE"]; then

		### Production mode
		if [[-d $DUNITER_DIR/node]]; then
			NODE=$DUNITER_DIR/node/bin/node
	  else
	    echo "Node.js is not embedded in this version of Duniter"
	    return
		fi;
	else

		### Cheating with DEV mode
		DUNITER_DIR=`pwd`
		NODE=node
	fi

	VERSION=`$NODE -v`

	if [[$VERSION != v8*]] && [[$VERSION != v9*]]; then
	  echo "$NODE v8 or v9 is required";
	else

	  # Calls duniter JS command
	  cd $DUNITER_DIR
	  $NODE "$DUNITER_DIR/bin/duniter" "$@"

	fi;
}

```

---

<div class="post-metadata">

### Author: ![Attilax](https://forum.duniter.org/user_avatar/forum.duniter.org/attilax/32/4237_2.png) [@Attilax](https://forum.duniter.org/u/Attilax)
#### Post date: [22 September 2018 16:31 UTC](https://forum.duniter.org/t/probleme-de-node-arm-banana-pi-m64/5143/16 "2018-09-22T16:31:58Z")

</div>

C’est parce que j’ai tenté plusieurs trucs depuis ce message.

Mais c’est pas grave, j’ai tout formaté, réinstallé armbian, installé nodejs 8, rebooté, installé duniter 1.6.23 pour arm et ça marche. je ne sais pas pourquoi ça a fait ça avant, mais c’est réglé.

Merci à vous pour toutes ces infos, ça m’a quand même aidé à réinstaller le bidule proprement et à comprendre un peu mieux cette histoire de node.

---

<div class="post-metadata">

### Author: ![vit](https://forum.duniter.org/user_avatar/forum.duniter.org/vit/32/2775_2.png) [@vit](https://forum.duniter.org/u/vit)
#### Post date: [22 September 2018 17:21 UTC](https://forum.duniter.org/t/probleme-de-node-arm-banana-pi-m64/5143/17 "2018-09-22T17:21:23Z")

</div>

Si j’ai bien suivi, et si tu as fait un “downgrade” ou une “dégradation” 😉 en 1.6.23, c’est que le build arm de la 1.6.25 a un problème sur certains appareils ?

---

<div class="post-metadata">

### Author: ![Attilax](https://forum.duniter.org/user_avatar/forum.duniter.org/attilax/32/4237_2.png) [@Attilax](https://forum.duniter.org/u/Attilax)
#### Post date: [22 September 2018 21:45 UTC](https://forum.duniter.org/t/probleme-de-node-arm-banana-pi-m64/5143/18 "2018-09-22T21:45:01Z")

</div>

Ben j’ai pas réussi à faire tourner la 1.6.25 en tout cas. Ça me donne le message cité plus haut : node absent.  
La 1.6.23 tourne. Mal, mais elle tourne.  
Mais j’ai pas dit mon dernier mot. J’ai un banana m64 (en 64 bits) je devrais donc logiquement pouvoir y installer la 1.6.25 en version 64bit.  
Suite de la bataille à venir, donc…

---

<div class="post-metadata">

### Author: ![Attilax](https://forum.duniter.org/user_avatar/forum.duniter.org/attilax/32/4237_2.png) [@Attilax](https://forum.duniter.org/u/Attilax)
#### Post date: [23 September 2018 09:09 UTC](https://forum.duniter.org/t/probleme-de-node-arm-banana-pi-m64/5143/19 "2018-09-23T09:09:46Z")

</div>

> [@cgeek](#):
>
> /opt/duniter//node/bin/node -v

J’ai refait un armbian arm 64bit avec nodejs 8.12, réinstallé duniter et ça recommence ☹

quand je lance duniter ça me dit encore :

/usr/bin/duniter: line 36: /opt/duniter//node/bin/node: No such file or directory  
/opt/duniter//node/bin/node v8 or v9 is required

La commande ‘/opt/duniter//node/bin/node -v’ donne :

-bash: /opt/duniter//node/bin/node: No such file or directory

Comme s’il n’y avait pas de node. Pourtant nodejs 8 est installé et ‘node -v’ me donne ‘v8.12.0’

Je pige pas ce que j’ai mal fait.

---

<div class="post-metadata">

### Author: ![Moul](https://forum.duniter.org/user_avatar/forum.duniter.org/moul/32/9145_2.png) [@Moul](https://forum.duniter.org/u/Moul)
#### Post date: [23 September 2018 09:14 UTC](https://forum.duniter.org/t/probleme-de-node-arm-banana-pi-m64/5143/20 "2018-09-23T09:14:55Z")

</div>

Nodejs est intégré dans le paquet Duniter. Tu n’as pas besoin de l’installer.  
Essayes sans, peut-être que ça fait conflit.  
Sinon, il est possible que le paquet Debian ait mal été construit.  
Si d’autres personnes peuvent confirmer que la version de ce paquet ARM fonctionne sur leurs cartes ARM.  
Où, c’est qu’on a pas de build pour cette architecture : ARM64 n’est ni une architecture ARM ni 64 bits.

[Next page](https://forum.duniter.org/t/probleme-de-node-arm-banana-pi-m64/5143.md?page=2)
