NEWS
[gelöst] Fehler bei Versuch, mongodb aus npm zu löschen
-
@latzi sagte in Fehler bei Versuch, mongodb aus npm zu löschen:
xml2js
Lösch den Link mal. Das ist der Loop.
@thomas-braun
Der Loop ist weg, doch das Löschen funktioniert nicht, jetzt fehlt xml2js:pi@Pi4-Server:/opt/iobroker $ npm uninstall mongodb npm ERR! code ENOLOCAL npm ERR! Could not install from "node_modules/xml2js" as it does not contain a package.json file.Soll ich xml2js installieren und nochmal versuchen?
-
@thomas-braun
Der Loop ist weg, doch das Löschen funktioniert nicht, jetzt fehlt xml2js:pi@Pi4-Server:/opt/iobroker $ npm uninstall mongodb npm ERR! code ENOLOCAL npm ERR! Could not install from "node_modules/xml2js" as it does not contain a package.json file.Soll ich xml2js installieren und nochmal versuchen?
@latzi
Ja, versuch mal. -
@latzi
Ja, versuch mal.@thomas-braun
läuft leider nicht, keine Ahnung warum!pi@Pi4-Server:/opt/iobroker $ npm install xml2js npm ERR! code ENOLOCAL npm ERR! Could not install from "node_modules/xml2js" as it does not contain a package.json file. -
Jetzt hab ich mal ganz frech versucht, mongodb zu installieren, da bekomme ich folgendes:
pi@Pi4-Server:/opt/iobroker $ npm install mongodb npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.7 (node_modules/iobroker.info/node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN http-cookie-agent@1.0.4 requires a peer of tough-cookie@^4.0.0 but none is installed. You must install peer dependencies yourself. npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself. + mongodb@4.4.0 added 12 packages from 13 contributors, removed 2 packages and updated 2 packages in 58.654s 149 packages are looking for funding run `npm fund` for detailsLöschen funktioniert trotzdem nicht :-(
pi@Pi4-Server:/opt/iobroker $ npm uninstall mongodb npm ERR! code ENOLOCAL npm ERR! Could not install from "node_modules/xml2js" as it does not contain a package.json file. -
Jetzt hab ich mal ganz frech versucht, mongodb zu installieren, da bekomme ich folgendes:
pi@Pi4-Server:/opt/iobroker $ npm install mongodb npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.7 (node_modules/iobroker.info/node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN http-cookie-agent@1.0.4 requires a peer of tough-cookie@^4.0.0 but none is installed. You must install peer dependencies yourself. npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself. + mongodb@4.4.0 added 12 packages from 13 contributors, removed 2 packages and updated 2 packages in 58.654s 149 packages are looking for funding run `npm fund` for detailsLöschen funktioniert trotzdem nicht :-(
pi@Pi4-Server:/opt/iobroker $ npm uninstall mongodb npm ERR! code ENOLOCAL npm ERR! Could not install from "node_modules/xml2js" as it does not contain a package.json file. -
@latzi Köasch mal das xml2js verzeichnis .. Wie schon im anderen Thread gesagt, ggf falls Adapter danach nicht tun die neu installieren
@apollon77
hab ich schon, hilft leider nicht :-( -
@apollon77
hab ich schon, hilft leider nicht :-( -
@latzi Wie ändern sich dann meldugen? Weill Wenns nicht mehr da ist kann er nicht meckern
@apollon77
Der Loop ist weg (nach dem Löschen von xml2js-Verzeichnis), doch das Löschen von mongodb funktioniert nicht, jetzt fehlt xml2js:pi@Pi4-Server:/opt/iobroker $ npm uninstall mongodb npm ERR! code ENOLOCAL npm ERR! Could not install from "node_modules/xml2js" as it does not contain a package.json file. -
@apollon77
Der Loop ist weg (nach dem Löschen von xml2js-Verzeichnis), doch das Löschen von mongodb funktioniert nicht, jetzt fehlt xml2js:pi@Pi4-Server:/opt/iobroker $ npm uninstall mongodb npm ERR! code ENOLOCAL npm ERR! Could not install from "node_modules/xml2js" as it does not contain a package.json file. -
@apollon77
Ja, seltsam oder? -
@apollon77
Ja, seltsam oder?@latzi dann fällt mir nur noch eins ein. Lösche das mongodb Verzeichnis manuell und danach ggf „npm prune“ ausführen. Der sollte aufräumen ;-)
Falls alles blöd ist dann Node_modules komplett löschen. Den js-Controller manuell installieren und dan man starten. Dann wird alles neu frisch installiert
-
@latzi dann fällt mir nur noch eins ein. Lösche das mongodb Verzeichnis manuell und danach ggf „npm prune“ ausführen. Der sollte aufräumen ;-)
Falls alles blöd ist dann Node_modules komplett löschen. Den js-Controller manuell installieren und dan man starten. Dann wird alles neu frisch installiert
@apollon77

Das war´s , schaut gut aus!
Vielen Dank Ingo!!!
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden