Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. JavaScript Adapter npm Modul deinstallieren

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    JavaScript Adapter npm Modul deinstallieren

    This topic has been deleted. Only users with topic management privileges can see it.
    • BananaJoe
      BananaJoe Most Active last edited by BananaJoe

      Ich hatte für ein SKript das Modul dewpoint im JavaScript-Adapter eingetragen (in der 2. Instanz).
      Im Log konnte ich dann beobachten das der Adapter beim Neustart das Modul installiert hat:

      2022-05-29 12:43:44.347  - info: javascript.1 (21266) starting. Version 5.7.0 in /opt/iobroker/node_modules/iobroker.javascript, node: v14.19.3, js-controller: 4.0.23
      2022-05-29 12:43:44.396  - info: javascript.1 (21266) npm install dewpoint --production (System call)
      2022-05-29 12:43:46.538  - info: javascript.1 (21266) + dewpoint@1.0.0
      added 13 packages from 14 contributors and audited 24 packages in 1.095s
      
      2022-05-29 12:43:46.573  - info: javascript.1 (21266)
      6 packages are looking for funding
        run `npm fund` for details
      
      
      2022-05-29 12:43:46.575  - info: javascript.1 (21266) found 0 vulnerabilities
      
      
      2022-05-29 12:43:48.004  - info: javascript.1 (21266) requesting all states
      

      Nun brauche ich das Modul nicht mehr - wie werde ich es wieder los?

      Ich habe folgendes gemacht;

      • Paket aus dem JavaScript Adapter entfernt
      • bin ins Verzeichnis /opt/iobroker/node_modules/iobroker.javascript gewechselt
      • hab npm uninstall dewpoint eingegeben

      Passt das so oder habe ich Mist gebaut? Weg ist es jedenfalls und alles sieht normal aus. Außer das er mir so jede Menge Warnungen gegeben hat über Sicherheitslücken etc:

      iobroker@iobroker:/opt/iobroker/node_modules/iobroker.javascript$ npm uninstall dewpoint
      npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
      npm WARN deprecated request@2.88.2: request has been deprecated, see https : //github.com/request/request/issues/3142
      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
      npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
      npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
      npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
      
      > es5-ext@0.10.61 postinstall /opt/iobroker/node_modules/iobroker.javascript/node_modules/es5-ext
      >  node -e "try{require('./_postinstall')}catch(e){}" || exit 0
      
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/chokidar/node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/mocha/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":"x64"})
      
      added 641 packages from 419 contributors, removed 1 package and audited 667 packages in 46.575s
      
      53 packages are looking for funding
        run `npm fund` for details
      
      found 2 high severity vulnerabilities
        run `npm audit fix` to fix them, or `npm audit` for details
      iobroker@iobroker:/opt/iobroker/node_modules/iobroker.javascript$ npm list dewpoint
      iobroker.javascript@5.7.0 /opt/iobroker/node_modules/iobroker.javascript
      └── (empty)
      
      iobroker@iobroker:/opt/iobroker/node_modules/iobroker.javascript$
      
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Support us

      ioBroker
      Community Adapters
      Donate

      812
      Online

      31.8k
      Users

      80.0k
      Topics

      1.3m
      Posts

      1
      1
      225
      Loading More Posts
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      Community
      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
      The ioBroker Community 2014-2023
      logo