Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Fehlermeldungen Java Skript

    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

    Fehlermeldungen Java Skript

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

      Hallo!

      Ich habe mir Javaskript installiert, erhalte vom Adapter aber nur Fehlermeldungen. Woran kann das liegen?

      host.raspberrypi	2018-11-23 10:05:32.330	info	Restart adapter system.adapter.javascript.0 because enabled
      host.raspberrypi	2018-11-23 10:05:32.330	error	instance system.adapter.javascript.0 terminated with code 1 ()
      host.raspberrypi	2018-11-23 10:05:32.330	error	Caught by controller[0]: at tryModuleLoad (module.js:505:12)
      host.raspberrypi	2018-11-23 10:05:32.330	error	Caught by controller[0]: at Module.load (module.js:565:32)
      host.raspberrypi	2018-11-23 10:05:32.330	error	Caught by controller[0]: at Object.Module._extensions..js (module.js:663:10)
      host.raspberrypi	2018-11-23 10:05:32.330	error	Caught by controller[0]: at Module._compile (module.js:652:30)
      host.raspberrypi	2018-11-23 10:05:32.329	error	Caught by controller[0]: at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.javascript/javascript.js:3427:3)
      host.raspberrypi	2018-11-23 10:05:32.329	error	Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.javascript/javascript.js:22:28
      host.raspberrypi	2018-11-23 10:05:32.329	error	Caught by controller[0]: at require (internal/module.js:11:18)
      host.raspberrypi	2018-11-23 10:05:32.329	error	Caught by controller[0]: at Module.require (module.js:596:17)
      host.raspberrypi	2018-11-23 10:05:32.329	error	Caught by controller[0]: at Function.Module._load (module.js:474:25)
      host.raspberrypi	2018-11-23 10:05:32.329	error	Caught by controller[0]: at Function.Module._resolveFilename (module.js:547:15)
      host.raspberrypi	2018-11-23 10:05:32.329	error	Caught by controller[0]: Error: Cannot find module 'coffee-compiler'
      host.raspberrypi	2018-11-23 10:05:32.329	error	Caught by controller[0]: ^
      host.raspberrypi	2018-11-23 10:05:32.329	error	Caught by controller[0]: throw err;
      host.raspberrypi	2018-11-23 10:05:32.328	error	Caught by controller[0]: module.js:549
      host.raspberrypi	2018-11-23 10:05:30.175	info	instance system.adapter.javascript.0 started with pid 2476
      host.raspberrypi	2018-11-23 10:05:00.143	info	Restart adapter system.adapter.javascript.0 because enabled
      host.raspberrypi	2018-11-23 10:05:00.142	error	instance system.adapter.javascript.0 terminated with code 1 ()
      Caught	2018-11-23 10:05:00.142	error	by controller[0]: at tryModuleLoad (module.js:505:12)
      Caught	2018-11-23 10:05:00.142	error	by controller[0]: at Module.load (module.js:565:32)
      Caught	2018-11-23 10:05:00.142	error	by controller[0]: at Object.Module._extensions..js (module.js:663:10)
      Caught	2018-11-23 10:05:00.142	error	by controller[0]: at Module._compile (module.js:652:30)
      Caught	2018-11-23 10:05:00.142	error	by controller[0]: at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.javascript/javascript.js:3427:3)
      Caught	2018-11-23 10:05:00.142	error	by controller[0]: at /opt/iobroker/node_modules/iobroker.javascript/javascript.js:22:28
      Caught	2018-11-23 10:05:00.142	error	by controller[0]: at require (internal/module.js:11:18)
      Caught	2018-11-23 10:05:00.142	error	by controller[0]: at Module.require (module.js:596:17)
      Caught	2018-11-23 10:05:00.141	error	by controller[0]: at Function.Module._load (module.js:474:25)
      Caught	2018-11-23 10:05:00.141	error	by controller[0]: at Function.Module._resolveFilename (module.js:547:15)
      Caught	2018-11-23 10:05:00.141	error	by controller[0]: Error: Cannot find module 'coffee-compiler'
      Caught	2018-11-23 10:05:00.141	error	by controller[0]: ^
      Caught	2018-11-23 10:05:00.141	error	by controller[0]: throw err;
      Caught	2018-11-23 10:05:00.140	error	by controller[0]: module.js:549
      host.raspberrypi	2018-11-23 10:04:57.939	info	instance system.adapter.javascript.0 started with pid 2470
      host.raspberrypi	2018-11-23 10:04:57.906	info	object change system.adapter.javascript.0</anonymous></anonymous>
      

      In der IO Broker Übersicht steht:

      raspberrypi

      Plattform: linux

      RAM: 927.1 MB

      Node.js: v8.11.1

      NPM: 1.4.21

      1 Reply Last reply Reply Quote 0
      • D
        dna909 last edited by

        Installiere bitte mal eine neuere npm-Version.

        1.4.21 ist ja schon ein bissel sehr alt :lol:

        Gruß

        dna909

        1 Reply Last reply Reply Quote 0
        • R
          Realleachim last edited by

          Habe alles gestern erst aufgesetzt. Per SSH auf den Raspberry schalten. Und wie sind da die Befehle?

          1 Reply Last reply Reply Quote 0
          • AlCalzone
            AlCalzone Developer last edited by

            @Realleachim:

            Habe alles gestern erst aufgesetzt. Per SSH auf den Raspberry schalten. Und wie sind da die Befehle? `

            npm i -g npm
            

            möglicherweise muss <u>sudo</u> davor.

            1 Reply Last reply Reply Quote 0
            • R
              Realleachim last edited by

              Jetzt funktioniert es. Habe nun Version 6.4.1

              Habe genau nach Tutorial gearbeitet. Keine Ahnung was da passiert ist.

              Danke!

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

              Support us

              ioBroker
              Community Adapters
              Donate

              988
              Online

              31.7k
              Users

              79.9k
              Topics

              1.3m
              Posts

              3
              5
              858
              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