Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. *Gelöst* requestPath: 'coffee-script'

    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

    *Gelöst* requestPath: 'coffee-script'

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bommel_030 @Thomas Braun last edited by

      @thomas-braun
      Ich stolpere zwar immer noch bei meine Unix-Gehversuchen, aber sollte coffe-script nicht irgendwie durch coffeescript ersetzt werden? Zumindest meckert meine javascript-Instanz beim Neustart immer er will mit "ohne hyphen" 😉

      
      javascript.0
      2022-07-12 07:07:03.063	error	WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
      
      javascript.0
      2022-07-12 07:07:03.063	error	npm
      
      javascript.0
      2022-07-12 07:07:03.039	error	WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      
      javascript.0
      2022-07-12 07:07:03.038	error	npm
      
      javascript.0
      2022-07-12 07:07:03.019	error	WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
      
      javascript.0
      2022-07-12 07:07:03.018	error	npm
      
      javascript.0
      2022-07-12 07:07:03.000	error	WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
      
      javascript.0
      2022-07-12 07:07:02.999	error	npm
      
      javascript.0
      2022-07-12 07:07:02.970	error	WARN deprecated har-validator@5.1.5: this library is no longer supported
      
      javascript.0
      2022-07-12 07:07:02.970	error	npm
      
      javascript.0
      2022-07-12 07:07:01.079	error	WARN config production Use `--omit=dev` instead.
      
      javascript.0
      2022-07-12 07:07:01.079	error	npm
      

      Falls du zu den anderen Fehlern noch ne Meinung hast immer her damit. Dank deiner dezenten Hinweise hier und da war ich auf der Maschine auch noch nie als root unterwegs.

      mikeal created this issue in request/request

      open Request’s Past, Present and Future #3142

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

        @bommel_030

        Die Hinweise müssten im Javascript Adapter angegangen werden. Gibt da mindestens zu Coffee-Script ein Issue zu.

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

          @thomas-braun sagte in requestPath: 'coffee-script':

          npm ls tough-cookie

          root@ioBroker:/opt/iobroker# npm ls tough-cookie
          iobroker.inst@3.0.0 /opt/iobroker
          +-- iobroker.backitup@2.4.9
          | `-- request@2.88.2
          |   `-- tough-cookie@2.5.0
          +-- iobroker.iot@1.11.4
          | `-- jsdom@19.0.0
          |   `-- tough-cookie@4.0.0 deduped
          +-- iobroker.javascript@5.7.0
          | `-- request@2.88.2
          |   `-- tough-cookie@2.5.0
          +-- iobroker.parcel@0.0.18
          | +-- http-cookie-agent@1.0.6
          | | `-- tough-cookie@4.0.0 deduped
          | `-- tough-cookie@4.0.0
          +-- iobroker.pollenflug@1.0.6
          | `-- request-promise-native@1.0.9
          |   `-- tough-cookie@2.5.0
          +-- iobroker.rest-api@1.0.0
          | `-- swagger-node-runner-fork@0.8.0
          |   `-- bagpipes@0.2.2
          |     `-- machinepack-http@8.0.0
          |       `-- request@2.88.0
          |         `-- tough-cookie@2.4.3
          `-- iobroker.telegram@1.13.0
            `-- node-telegram-bot-api@0.57.0
              `-- request-promise@4.2.6
                `-- tough-cookie@2.5.0
          
          Stephan Schleich 1 Reply Last reply Reply Quote 0
          • Stephan Schleich
            Stephan Schleich @Stephan Schleich last edited by Stephan Schleich

            @stephan-schleich sagte in requestPath: 'coffee-script':

            +-- iobroker.javascript@5.7.0 | -- request@2.88.2 | -- tough-cookie@2.5.0

            die ganzen oder viele module sind scheinbar im javascript unvollständig, wie kann ich die alle wieder vervollständigen?

            host.ioBroker
            2022-07-12 15:13:21.518	error	instance system.adapter.javascript.1 terminated with code 1 (JS_CONTROLLER_STOPPED)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at node:internal/main/run_main_module:17:47
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:58:23)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/lib/request.js:5:18)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/index.js:143:19)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:11:21)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14)
            host.ioBroker
            2022-07-12 15:13:21.518	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/node_modules/http-signature/lib/index.js:3:14)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/node_modules/http-signature/lib/parser.js:5:13)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/node_modules/http-signature/lib/utils.js:4:13)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/sshpk/lib/index.js:3:11)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/sshpk/lib/key.js:8:19)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/sshpk/lib/fingerprint.js:11:18)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18)
            host.ioBroker
            2022-07-12 15:13:21.517	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/sshpk/lib/private-key.js:10:17)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/sshpk/lib/signature.js:10:13)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1105:14)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/sshpk/lib/utils.js:32:10)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1069:27)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at wrapSafe (node:internal/modules/cjs/loader:1033:15)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: at Object.compileFunction (node:vm:352:18)
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: SyntaxError: Unexpected end of input
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]:
            host.ioBroker
            2022-07-12 15:13:21.516	error	Caught by controller[0]: var u = b.y.toBigInteger().multiply(
            host.ioBroker
            2022-07-12 15:13:21.515	error	Caught by controller[0]: /opt/iobroker/node_modules/iobroker.javascript/node_modules/ecc-jsbn/lib/ec.js:126
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Stephan Schleich last edited by

              @stephan-schleich

              Zunächst mal nicht als root rumhampeln, dann schauen ob nodejs senkrecht installiert ist.

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

                @thomas-braun Was heißt senkrecht? wie mach ich das?

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

                  @stephan-schleich

                  Schau in meine Signatur, da steht's drin.

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

                    @thomas-braun wenn ichs richtig gemacht habe, hats nichts gebracht - kanns gerne mal via TeamViewer herzeigen?

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

                      @stephan-schleich

                      TeamViewer? Was ist das?
                      Für ein Terminal braucht es kein TeamViewer.
                      Was kommt da konkret ums Eck und bist du mittlerweile als user und nicht mehr als root unterwegs?

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

                        @thomas-braun das kommt rum

                        root@ioBroker:/opt/iobroker# uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                        x86_64
                        /usr/bin/nodejs
                        /usr/bin/node
                        /usr/bin/npm
                        v16.15.1
                        v16.15.1
                        8.11.0
                        root
                        /opt/iobroker
                        Hit:1 https://repos.influxdata.com/debian focal InRelease
                        Hit:2 https://deb.nodesource.com/node_16.x focal InRelease                                          
                        Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease                                              
                        Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
                        Get:5 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
                        Fetched 228 kB in 1s (261 kB/s)  
                        Reading package lists... Done
                        Building dependency tree       
                        Reading state information... Done
                        40 packages can be upgraded. Run 'apt list --upgradable' to see them.
                        nodejs:
                          Installed: 16.15.1-deb-1nodesource1
                          Candidate: 16.16.0-deb-1nodesource1
                          Version table:
                             16.16.0-deb-1nodesource1 500
                                500 https://deb.nodesource.com/node_16.x focal/main amd64 Packages
                         *** 16.15.1-deb-1nodesource1 100
                                100 /var/lib/dpkg/status
                             10.19.0~dfsg-3ubuntu1 500
                                500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
                        root@ioBroker:/opt/iobroker# sudo apt install nodejs --reinstall
                        Reading package lists... Done
                        Building dependency tree       
                        Reading state information... Done
                        The following package was automatically installed and is no longer required:
                          libllvm11
                        Use 'sudo apt autoremove' to remove it.
                        The following packages will be upgraded:
                          nodejs
                        1 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
                        Need to get 26.5 MB of archives.
                        After this operation, 6144 B of additional disk space will be used.
                        Get:1 https://deb.nodesource.com/node_16.x focal/main amd64 nodejs amd64 16.16.0-deb-1nodesource1 [26.5 MB]
                        Fetched 26.5 MB in 4s (7135 kB/s) 
                        (Reading database ... 34743 files and directories currently installed.)
                        Preparing to unpack .../nodejs_16.16.0-deb-1nodesource1_amd64.deb ...
                        Unpacking nodejs (16.16.0-deb-1nodesource1) over (16.15.1-deb-1nodesource1) ...
                        Setting up nodejs (16.16.0-deb-1nodesource1) ...
                        Processing triggers for man-db (2.9.1-1) ...
                        root@ioBroker:/opt/iobroker#
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Stephan Schleich last edited by

                          @stephan-schleich

                          Auf ubuntu rumpelt man nicht als root durch das System. Punkt.

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

                            @thomas-braun Das hat derzeit nix mit dem Problem zu tun, ich schau mir das später an, das Problem ist mir derzeit wichtiger weil nix mehr läuft

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

                              @stephan-schleich sagte in requestPath: 'coffee-script':

                              Das hat derzeit nix mit dem Problem zu tun

                              Sehe ich anders. Aber viel Erfolg noch weiterhin.

                              1 Reply Last reply Reply Quote 2
                              • Stephan Schleich
                                Stephan Schleich last edited by

                                Für jeden dem dieses root gelaber in jedem Post auch aufn Sack geht, es mag seine Berechtigung haben, aber es ist jedem das seine:

                                Die Lösung war folgende:

                                1. /opt/iobroker/node_modules/iobroker.javascript\node_modules umbenennen z.b. *.old
                                2. npm rebuild iobroker.javascript

                                dann läufts wieder.

                                Thomas Braun Glasfaser 2 Replies Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Stephan Schleich last edited by

                                  @stephan-schleich sagte in requestPath: 'coffee-script':

                                  Für jeden dem dieses root gelaber in jedem Post auch aufn Sack geht

                                  Dann änder es halt. Dann musst du auch nicht 'angelabert' werden.

                                  1 Reply Last reply Reply Quote 3
                                  • Glasfaser
                                    Glasfaser @Stephan Schleich last edited by

                                    @stephan-schleich sagte in *Gelöst* requestPath: 'coffee-script':

                                    Für jeden dem dieses root gelaber in jedem Post auch aufn Sack geht,

                                    eigentlich nicht , denn @Thomas-Braun hat recht .... bzw. auch darauf hinzuweisen .

                                    es mag seine Berechtigung haben, aber es ist jedem das seine:

                                    deshalb .... sei froh das @Thomas-Braun dir noch soweit geholfen hat 😉

                                    1 Reply Last reply Reply Quote 4
                                    • K
                                      Kueppert last edited by Kueppert

                                      Hallo @Thomas-Braun
                                      hab m.E. fast das gleiche Problem seit dem letzten JS-Update. Sieht bei mir trotzdem anders aus 🙂

                                      thorsten@ioBroker2:/opt/iobroker$ npm ls coffee-script                          iobroker.inst@2.0.3 /opt/iobroker
                                      └─┬ iobroker.javascript@5.8.8
                                        └── UNMET PEER DEPENDENCY coffee-script@1.12.7
                                      
                                      npm ERR! peer dep missing: coffee-script@>=1.6.2, required by coffee-compiler@0.3.2
                                      
                                      thorsten@ioBroker2:/opt/iobroker$ npm ls tough-cookie
                                      iobroker.inst@2.0.3 /opt/iobroker
                                      ├─┬ iobroker.backitup@2.4.10
                                      │ ├─┬ dropbox-v2-api@2.5.3
                                      │ │ └─┬ request@2.88.2
                                      │ │   └── tough-cookie@2.5.0
                                      │ └─┬ request@2.88.2
                                      │   └── tough-cookie@2.5.0
                                      ├─┬ iobroker.echarts@1.0.12
                                      │ └─┬ jsdom@19.0.0
                                      │   └── tough-cookie@4.0.0
                                      ├─┬ iobroker.harmony@1.2.2
                                      │ └─┬ harmonyhubws@1.0.6
                                      │   └─┬ request-promise-native@1.0.7
                                      │     └── tough-cookie@2.4.3  deduped
                                      ├─┬ iobroker.hm-rega@3.0.40
                                      │ └─┬ request@2.88.2
                                      │   └── tough-cookie@2.5.0
                                      ├─┬ iobroker.javascript@5.8.8
                                      │ └─┬ request@2.88.2
                                      │   └── tough-cookie@2.5.0
                                      ├─┬ iobroker.js-controller@4.0.23
                                      │ ├─┬ @iobroker/js-controller-common@4.0.23
                                      │ │ └─┬ request@2.88.2
                                      │ │   └── tough-cookie@2.5.0
                                      │ └─┬ request@2.88.2
                                      │   └── tough-cookie@2.5.0
                                      ├─┬ iobroker.pi-hole@1.4.0 (github:unltdnetworx/ioBroker.pi-hole#8af228102edc7ee8356183670187a8cd00263428)
                                      │ └─┬ request@2.88.2
                                      │   └── tough-cookie@2.5.0
                                      ├─┬ iobroker.pollenflug@1.0.6
                                      │ ├─┬ request@2.88.2
                                      │ │ └── tough-cookie@2.5.0
                                      │ └─┬ request-promise-native@1.0.8
                                      │   └── tough-cookie@2.5.0  deduped
                                      ├─┬ iobroker.proxmox@1.3.4
                                      │ └─┬ request@2.88.2
                                      │   └── tough-cookie@2.5.0
                                      ├─┬ iobroker.tankerkoenig@2.1.1
                                      │ └─┬ request@2.88.0
                                      │   └── tough-cookie@2.4.3
                                      ├─┬ iobroker.telegram@1.14.1
                                      │ └─┬ node-telegram-bot-api@0.58.0
                                      │   └─┬ request-promise@4.2.6
                                      │     └── tough-cookie@2.4.3  deduped
                                      ├─┬ iobroker.unifi@0.6.1
                                      │ └─┬ node-unifi@2.1.0
                                      │   └── UNMET PEER DEPENDENCY tough-cookie@4.0.0
                                      └─┬ iobroker.whatsapp-cmb@0.2.2
                                        └─┬ request@2.88.2
                                          └── tough-cookie@2.5.0
                                      
                                      npm ERR! peer dep missing: tough-cookie@^4.0.0, required by http-cookie-agent@4.0.1
                                      
                                      

                                      Das sieht echt schräg aus...hab da nix (mehr) mit Root auf der Konsole rumgefummelt 😉

                                      Ein NPM-rebuild vom iobroker.javascript (ging nur mit root, nicht mal mit sudo) hat auch nichts gebracht 😞 habs gemäß dem Hinweis von Stephan hier im Thread gemacht. Fehlermeldung im ioBroker bleibt die Gleiche:

                                      host.ioBroker2
                                      2022-07-14 09:01:44.445	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                      host.ioBroker2
                                      2022-07-14 09:01:44.445	error	Caught by controller[0]: }
                                      host.ioBroker2
                                      2022-07-14 09:01:44.445	error	Caught by controller[0]: ]
                                      host.ioBroker2
                                      2022-07-14 09:01:44.444	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
                                      host.ioBroker2
                                      2022-07-14 09:01:44.444	error	Caught by controller[0]: '/opt/iobroker/node_modules/coffee-compiler/coffee-compiler.js',
                                      host.ioBroker2
                                      2022-07-14 09:01:44.444	error	Caught by controller[0]: requireStack: [
                                      host.ioBroker2
                                      2022-07-14 09:01:44.444	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                                      host.ioBroker2
                                      2022-07-14 09:01:44.443	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19) {
                                      host.ioBroker2
                                      2022-07-14 09:01:44.443	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                                      host.ioBroker2
                                      2022-07-14 09:01:44.443	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32)
                                      host.ioBroker2
                                      2022-07-14 09:01:44.442	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                                      host.ioBroker2
                                      2022-07-14 09:01:44.442	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14)
                                      host.ioBroker2
                                      2022-07-14 09:01:44.442	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/coffee-compiler/coffee-compiler.js:7:10)
                                      host.ioBroker2
                                      2022-07-14 09:01:44.441	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:101:18)
                                      host.ioBroker2
                                      2022-07-14 09:01:44.441	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19)
                                      host.ioBroker2
                                      2022-07-14 09:01:44.441	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:746:27)
                                      host.ioBroker2
                                      2022-07-14 09:01:44.440	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
                                      host.ioBroker2
                                      2022-07-14 09:01:44.440	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
                                      host.ioBroker2
                                      2022-07-14 09:01:44.440	error	Caught by controller[0]: - /opt/iobroker/node_modules/coffee-compiler/coffee-compiler.js
                                      host.ioBroker2
                                      2022-07-14 09:01:44.439	error	Caught by controller[0]: Require stack:
                                      host.ioBroker2
                                      2022-07-14 09:01:44.439	error	Caught by controller[0]: Error: Cannot find module 'coffee-script'
                                      host.ioBroker2
                                      2022-07-14 09:01:44.438	error	Caught by controller[0]: ^
                                      host.ioBroker2
                                      2022-07-14 09:01:44.438	error	Caught by controller[0]: throw err;
                                      host.ioBroker2
                                      2022-07-14 09:01:44.430	error	Caught by controller[0]: internal/modules/cjs/loader.js:905
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active last edited by

                                        @kueppert sagte in *Gelöst* requestPath: 'coffee-script':

                                        Ein NPM-rebuild vom iobroker.javascript (ging nur mit root, nicht mal mit sudo)

                                        Dann ist das komplett krumm alles bei dir. In einer sauberen Installation MUSS das auch als User funktionieren, das ist so in den sudoers angelegt.

                                        Aber was sage ich. Per root verpfuschst du dir schneller alles als du gucken kannst. Aber das will ja keiner hören.

                                        K 3 Replies Last reply Reply Quote 0
                                        • K
                                          Kueppert @Thomas Braun last edited by

                                          @thomas-braun 😞 ja, damals als ich anfing mit ioBroker...viele Jahre her (und so alt ist meine Installation auch), hab ich das Betriebssystem gemäß irgendeiner Anleitung als Root aufgesetzt und dann ioBroker drauf gemacht. Puuuh...ich schaue mal, ob ich das gerade bekomme. Ansonsten beiß ich mal in den sauren Apfel und mach das System (VM) ganz neu...

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

                                            @thomas-braun hab nen Reboot vom iob gemacht. Eine Meldung im LOG vom iob ist jetzt neu:

                                            host.ioBroker2
                                            2022-07-14 09:10:29.225	warn	adapter "javascript" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt
                                            

                                            Vielleicht repariert es sich ja von selbst...ich berichte

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            559
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            39
                                            2505
                                            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