Erreur de syntax a l installation une solution?

bonjour

je viens d installer nod red et j ai l erreur suivante a l installation

SyntaxError: Error parsing /usr/local/lib/node_modules/npm/package.json: Unexpected end of JSON input

comment contourner ce probleme

merci

What OS are you using and how are you trying to install node-red? If it is a Debian based system such as Ubuntu or Pi OS then you can use Running on Raspberry Pi : Node-RED.

@perdusansvous t'as tué le game des pseudos :rofl:

Sorry for this off-topic

installer sur windows server 2019 avec vmplayer
home assistant vers 2024-1.3 operatin system 11.4
node red vers Current version: 17.0.2

au lancement j ai l erreur suivante
s6-rc: info: service legacy-services successfully started
node:internal/modules/package_json_reader:92
throw error;
^

SyntaxError: Error parsing /usr/local/lib/node_modules/npm/package.json: Unexpected end of JSON input
at parse ()

:innocent: :innocent: pour l aide accordé

That is not the node-red version, current version is 3.1.3, I guess 17.0.2 is the version number of the HA node red addon.

I think you may have to ask on a Home Assistant forum as the install there is completely different to a normal node red install.

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