Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [erl.] Warnung fs@latest nicht installierbar

    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

    [erl.] Warnung fs@latest nicht installierbar

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MCU last edited by MCU

      @Thomas-Braun Bekomme bei Start vom javascript eine Warnung.

      Cannot install custom npm package "fs@latest": Cannot find package '/opt/iobroker/node_modules/@iobroker-javascript.0/fs/index.js' imported from /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js
      

      eine Idee, was man machen muss? Danke.

      M OliverIO 2 Replies Last reply Reply Quote 0
      • M
        MCU @MCU last edited by

        @mcu sagte in Warnung fs@latest nicht installierbar:

        Cannot install custom npm package "fs@latest": Cannot find package '/opt/iobroker/node_modules/@iobroker-javascript.0/fs/index.js' imported from /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js

        Darf anscheinend nicht mehr extra im javascript gesetzt werden.

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @MCU last edited by Thomas Braun

          @mcu

          Das ist ein Bestandteil von nodejs selber. Warum willst du das nochmal reinholen?

          https://nodejs.org/api/fs.html

          OliverIO 1 Reply Last reply Reply Quote 0
          • OliverIO
            OliverIO @MCU last edited by OliverIO

            @mcu

            ich würde es mal mit

            node:fs
            

            probieren, falls mit fs filesystem gemeint ist

            https://nodejs.org/api/fs.html#file-system

            1 Reply Last reply Reply Quote 0
            • OliverIO
              OliverIO @Thomas Braun last edited by

              @thomas-braun sagte in [erl.] Warnung fs@latest nicht installierbar:

              Warum willst du das nochmal reinholen?

              um eine objektreferenz auf fs zu bekommen und damit zu arbeiten.
              hab es allerdings nie probiert, ob fs statisch verfügbar ist.
              aus sicht der coder-klarheit würde ich das aber immer präferieren,
              sonst kommt da eine referenz aus dem nix

              M 1 Reply Last reply Reply Quote 0
              • M
                MCU @OliverIO last edited by

                @Thomas-Braun @oliverio
                Damals musste man noch fs noch im javascript npm-Module mit eintragen, sonst liefen die Programme nicht.

                Ist jetzt anscheinend nicht mehr. Bislang gab es die Meldung nicht, bzw. ich habe sie übersehen.

                Vielen Dank für die Infos.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Support us

                ioBroker
                Community Adapters
                Donate
                FAQ Cloud / IOT
                HowTo: Node.js-Update
                HowTo: Backup/Restore
                Downloads
                BLOG

                546
                Online

                31.9k
                Users

                80.2k
                Topics

                1.3m
                Posts

                fs@lastest
                3
                6
                295
                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