You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
revision on my rpi4B+ is c03111
i've modify ligne 29 : a01041 | a21041 | a22082 | a02082 | c03111 )
after is ok but another error 👍
Suppresion de l'archive et du repertoire décompressé
rm: impossible de supprimer 'node*': Aucun fichier ou dossier de ce type
Le dossier SARAH-Server-NodeJS existe déjà
Installation des dépendances
npm ERR! install Couldn't read dependencies
npm ERR! Linux 4.19.97-v7l+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.2.2
npm ERR! npm v2.14.7
npm ERR! path /home/pi/package.json
npm ERR! code ENOPACKAGEJSON
npm ERR! errno -2
npm ERR! syscall open
npm ERR! package.json ENOENT: no such file or directory, open '/home/pi/package.json'
npm ERR! package.json This is most likely not a problem with npm itself.
npm ERR! package.json npm can't find a package.json file in your current directory.
npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/npm-debug.log
Création du custom.prop
starting S.A.R.A.H. ...
pi@raspberrypi:~/SARAH-Server-NodeJS $ module.js:339
throw err;
^
The text was updated successfully, but these errors were encountered:
Dans le script, entre la ligne 49 et 51, mettre la commande cd ../ .
Puis déplacer la ligne 60 vers la 64. Ainsi, que le projet existait ou pas avant, on rentre dedans et le npm install fonctionnera.
Ou bien, on met les lignes 65 et 66 dans la condition "si le projet n'existe pas" et on met la ligne npm update après la ligne 62.
revision on my rpi4B+ is c03111
i've modify ligne 29 : a01041 | a21041 | a22082 | a02082 | c03111 )
after is ok but another error 👍
Suppresion de l'archive et du repertoire décompressé
rm: impossible de supprimer 'node*': Aucun fichier ou dossier de ce type
Le dossier SARAH-Server-NodeJS existe déjà
Installation des dépendances
npm ERR! install Couldn't read dependencies
npm ERR! Linux 4.19.97-v7l+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.2.2
npm ERR! npm v2.14.7
npm ERR! path /home/pi/package.json
npm ERR! code ENOPACKAGEJSON
npm ERR! errno -2
npm ERR! syscall open
npm ERR! package.json ENOENT: no such file or directory, open '/home/pi/package.json'
npm ERR! package.json This is most likely not a problem with npm itself.
npm ERR! package.json npm can't find a package.json file in your current directory.
npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/npm-debug.log
Création du custom.prop
starting S.A.R.A.H. ...
pi@raspberrypi:~/SARAH-Server-NodeJS $ module.js:339
throw err;
^
The text was updated successfully, but these errors were encountered: