Typeerror cannot read property manifest of null was heißt das

I want to add a line break when passing a string value to props I have tried "Unsere \nLeidenschaft" and {"Unsere \nLeidenschaft" } both but it is not working it break the line but it shows \n also with the text.

Here is my code:

I want to break the text of heading.

<BgImageComponent DashSize={"35%"} Heading="Unsere Leidenschaft" SubHeading={"Das Team von Agento Aurum ist..."} />

I have found the solution you have to seprate the strings and then put it should be like this {["Unsere",

, "Leidenschaft"]}!

Answered By - Alex

This Answer collected from stackoverflow and tested by AngularFix community admins, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0



  • da ich gerade ein bisschen aufräumen wollte und ein paar Adapter gelöscht habe, hätte ich eine Frage zu folgender Error Meldung
    Was bedeutet dies?

    2022-03-20 08:34:49.694 - error: host.IoBroker cannot process: system.adapter.icons-material-svg.0: TypeError: Cannot read property 'type' of null / TypeError: Cannot read property 'type' of null at change (/opt/iobroker/node_modules/iobroker.js-controller/main.js:772:32) at Immediate._onImmediate (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:391:41) at processImmediate (internal/timers.js:464:21) 2022-03-20 08:35:09.208 - info: admin.0 (924986) Request actual repository... 2022-03-20 08:35:24.166 - info: admin.0 (924986) Repository received successfully. 2022-03-20 08:39:05.948 - error: host.IoBroker cannot process: system.adapter.icons-mfd-svg.0: TypeError: Cannot read property 'type' of null / TypeError: Cannot read property 'type' of null at change (/opt/iobroker/node_modules/iobroker.js-controller/main.js:772:32) at Immediate._onImmediate (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:391:41) at processImmediate (internal/timers.js:464:21)


  • @crunchip das du vllt nen Bug gefunden hast. GitHub issue bitte


  • Bei mir hat sich beim Update irgendwas aufgehangen. Seit dem ist der broker nicht mehr erreichbar

    pi@raspberrypi-iob:~ $ iobroker upgrade self Update js-controller from @3.1.6 to @4.0.21 NPM version: 6.14.16 npm install --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call) In file included from ../../nan/nan.h:56, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:793:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^ /home/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~ ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(unix_dgram, Initialize) ^~~~~~~~~~~ Objects 127.0.0.1:53902 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"] States 127.0.0.1:38688 Error from InMemDB: Error: GET-UNSUPPORTED for namespace meta.: Data=["meta.states.protocolVersion"] Objects 127.0.0.1:53902 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"] Objects 127.0.0.1:53902 Error from InMemDB: Error: scan NOT SUPPORTED /opt/iobroker/node_modules/standard-as-callback/built/index.js:6 throw e; ^ ReplyError: Error scan NOT SUPPORTED at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12) at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14) Emitted 'error' event on ScanStream instance at: at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22 at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23) at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51 at processTicksAndRejections (internal/process/task_queues.js:95:5) { command: { name: 'scan', args: [ '0', 'MATCH', 'cfg.o.system.host.*', 'COUNT', '250' ] } } npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! install: `node iobroker.js setup first` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-03-29T16_38_52_007Z-debug.log host.raspberrypi-iob Cannot install : 1

    iobroker update bringt

    pi@raspberrypi-iob:/opt/iobroker $ iobroker update internal/modules/cjs/loader.js:905 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) at Function.Module._load (internal/modules/cjs/loader.js:746:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }

    Jemand eine Idee wo ich ansetzen kann?


  • @hardy_01 said in js-controller 4.0.x jetzt für alle User im STABLE!:

    Bei mir hat sich beim Update irgendwas aufgehangen. Seit dem ist der broker nicht mehr erreichbar

    pi@raspberrypi-iob:~ $ iobroker upgrade self Update js-controller from @3.1.6 to @4.0.21 NPM version: 6.14.16 npm install --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call) In file included from ../../nan/nan.h:56, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:793:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^ /home/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~ ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(unix_dgram, Initialize) ^~~~~~~~~~~ Objects 127.0.0.1:53902 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"] States 127.0.0.1:38688 Error from InMemDB: Error: GET-UNSUPPORTED for namespace meta.: Data=["meta.states.protocolVersion"] Objects 127.0.0.1:53902 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"] Objects 127.0.0.1:53902 Error from InMemDB: Error: scan NOT SUPPORTED /opt/iobroker/node_modules/standard-as-callback/built/index.js:6 throw e; ^ ReplyError: Error scan NOT SUPPORTED at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12) at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14) Emitted 'error' event on ScanStream instance at: at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22 at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23) at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51 at processTicksAndRejections (internal/process/task_queues.js:95:5) { command: { name: 'scan', args: [ '0', 'MATCH', 'cfg.o.system.host.*', 'COUNT', '250' ] } } npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! install: `node iobroker.js setup first` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-03-29T16_38_52_007Z-debug.log host.raspberrypi-iob Cannot install : 1

    iobroker update bringt

    pi@raspberrypi-iob:/opt/iobroker $ iobroker update internal/modules/cjs/loader.js:905 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) at Function.Module._load (internal/modules/cjs/loader.js:746:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }
    pi@raspberrypi-iob:/opt/iobroker $ iobroker start pi@raspberrypi-iob:/opt/iobroker $ iobroker fix library: loaded Library version=2022-02-10 ioBroker is not installed in /opt/iobroker! Cannot fix anything...

    Jemand eine Idee wo ich ansetzen kann?


  • @hardy_01

    Falls es auch danach noch Fehler gibt, bitte die Installation erneut mittels sudo -H -u iobroker npm install iobroker.js-controller versuchen.


  • @hardy_01 naja Du kommst von der 3.1 ... Da steht oben das Du idealerweise zuerst die 3.2 installieren solltest bzw ja bei DIr wäre der direkte weg via npm der sinnvolle. Siehe letzter Post


  • @apollon77
    Habe ich probiert, bekomme leider immer noch einen Fehler (Berechtigung).

    pi@raspberrypi-iob:~ $ sudo -H -u iobroker npm install iobroker.js-controller npm WARN deprecated : request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated : this library is no longer supported npm WARN deprecated : 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. npm WARN checkPermissions Missing write access to /home/pi 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 : wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN pi No description npm WARN pi No repository field. npm WARN pi No README data npm WARN pi No license field. npm ERR! code EACCES npm ERR! syscall access npm ERR! path /home/pi npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, access '/home/pi' npm ERR! [Error: EACCES: permission denied, access '/home/pi'] { npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/home/pi' npm ERR! } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-03-29T20_06_59_453Z-debug.log


  • @hardy_01
    Du stehst im falschen Verzeichnis...

    cd /opt/iobroker

    Und dann die direkte Installation wie schon versucht.


  • @thomas-braun
    Herzlichen Dank an alle, hat funktioniert

    Typeerror cannot read property manifest of null was heißt das


  • Moin, heute habe ich mal allen Mut gefasst und auf die aktuelle Version upgedatet. Es sieht so aus, als ob alles funktioniert hat.

    Es allerdings ein paar Meldungen, die von dem Beispiel im ersten Thread abweichen

pi@raspberrypi:/opt/iobroker $ iobroker upgrade self Update js-controller from @3.3.22 to @4.0.21 NPM version: 6.14.16 npm install --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call) In file included from ../src/unix_dgram.cc:5: ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’: ../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^ In file included from ../../nan/nan.h:56, from ../src/unix_dgram.cc:5: ../src/unix_dgram.cc: At global scope: /home/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:793:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^ /home/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~ ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(unix_dgram, Initialize) ^~~~~~~~~~~ Server Objects 127.0.0.1:41112 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"] Server Objects 127.0.0.1:41112 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"] Server Objects 127.0.0.1:41112 Error from InMemDB: Error: Unknown LUA script load Server Objects 127.0.0.1:41112 Error from InMemDB: Error: Unknown LUA script load Server Objects 127.0.0.1:41112 Error from InMemDB: Error: Unknown LUA script load Server Objects 127.0.0.1:41112 Error from InMemDB: Error: SET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets",{"type":"Buffer","data":[49]}] Could not migrate objects to corresponding sets: Error SET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets",{"type":"Buffer","data":[49]}] pi@raspberrypi:/opt/iobroker $

Muss ich hier noch etwas unternehmen oder ist das so OK?

Gruß

Hans-Jürgen

Nachtrag:
meine Datenbanken sehen jetzt so aus:

pi@raspberrypi:/opt/iobroker $ iob status iobroker is running on this host. Objects type: jsonl States type: redis pi@raspberrypi:/opt/iobroker $


  • Hallo!

    Habe heute versucht auf den js-controller 4.0.x upzugraden - leider bin ich gescheitert ... Habe mich durch die infos im thread garbeitet und auch einiges ausprobiert, jedoch haben alle Lösungen nicht funktioniert bzw. immer wieder zu demselben Problem / Error geführt:

    pi@PI4IOBroker:/opt/iobroker $ iobroker upgrade self Update js-controller from @3.1.6 to @4.0.21 NPM version: 7.24.2 npm install --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call) Objects 127.0.0.1:56176 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"] States 127.0.0.1:43884 Error from InMemDB: Error: GET-UNSUPPORTED for namespace meta.: Data=["meta.states.protocolVersion"] Objects 127.0.0.1:56176 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"] Objects 127.0.0.1:56176 Error from InMemDB: Error: scan NOT SUPPORTED npm ERR! code 1 npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller npm ERR! command failed npm ERR! command sh -c node iobroker.js setup first npm ERR! /opt/iobroker/node_modules/standard-as-callback/built/index.js:6 npm ERR! throw e; npm ERR! ^ npm ERR! npm ERR! ReplyError: Error scan NOT SUPPORTED npm ERR! at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12) npm ERR! at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14) npm ERR! Emitted 'error' event on ScanStream instance at: npm ERR! at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22 npm ERR! at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23) npm ERR! at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51 npm ERR! at processTicksAndRejections (internal/process/task_queues.js:95:5) { npm ERR! command: { npm ERR! name: 'scan', npm ERR! args: [ '0', 'MATCH', 'cfg.o.system.host.*', 'COUNT', '250' ] npm ERR! } npm ERR! } npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-04-01T21_26_30_838Z-debug.log Starting node restart.js

    Die zuletzt probierte Prozedur war folgende:

    iobroker update iobroker stop iobroker upgrade iobroker upgrade self iobroker fix iobroker start

    Hat jemand eine idee woran es liegen könnte? Leider kann ich mit den Error Log auf keinen grünen Zweig kommen

    Typeerror cannot read property manifest of null was heißt das

    Der Log beinhaltet folgendes:

    0 verbose cli [ 0 verbose cli '/usr/local/bin/node', 0 verbose cli '/usr/local/bin/npm', 0 verbose cli 'install', 0 verbose cli '', 0 verbose cli '--loglevel', 0 verbose cli 'error', 0 verbose cli '--unsafe-perm', 0 verbose cli '--prefix', 0 verbose cli '/opt/iobroker' 0 verbose cli ] 1 info using 2 info using 3 timing npm:load:whichnode Completed in 1ms 4 timing config:load:defaults Completed in 5ms 5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 4ms 6 timing config:load:builtin Completed in 4ms 7 timing config:load:cli Completed in 8ms 8 timing config:load:env Completed in 0ms 9 timing config:load:file:/opt/iobroker/.npmrc Completed in 2ms 10 timing config:load:project Completed in 2ms 11 timing config:load:file:/home/iobroker/.npmrc Completed in 1ms 12 timing config:load:user Completed in 1ms 13 timing config:load:file:/opt/iobroker/etc/npmrc Completed in 0ms 14 timing config:load:global Completed in 0ms 15 timing config:load:validate Completed in 1ms 16 timing config:load:credentials Completed in 3ms 17 timing config:load:setEnvs Completed in 3ms 18 timing config:load Completed in 28ms 19 timing npm:load:configload Completed in 28ms 20 timing npm:load:setTitle Completed in 0ms 21 timing npm:load:setupLog Completed in 2ms 22 timing config:load:flatten Completed in 9ms 23 timing npm:load:cleanupLog Completed in 6ms 24 timing npm:load:configScope Completed in 0ms 25 timing npm:load:projectScope Completed in 1ms 26 timing npm:load Completed in 47ms 27 timing arborist:ctor Completed in 2ms 28 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules/iobroker.zwave2 29 timing idealTree:init Completed in 6038ms 30 timing idealTree:userRequests Completed in 24ms 31 silly idealTree buildDeps 32 silly fetch manifest 33 http fetch GET 200 https://registry.npmjs.org/iobroker.js-controller 7421ms (cache revalidated) 34 silly placeDep ROOT REPLACE for: want: 4.0.21 35 silly fetch manifest @alcalzone/esbuild-register@^2.5.1-1 36 silly fetch manifest @iobroker/ 37 silly fetch manifest @iobroker/ 38 silly fetch manifest @iobroker/ 39 silly fetch manifest @iobroker/ 40 silly fetch manifest @iobroker/ 41 silly fetch manifest @iobroker/ 42 silly fetch manifest @iobroker/ 43 silly fetch manifest @iobroker/ 44 silly fetch manifest @iobroker/ 45 silly fetch manifest @iobroker/ 46 silly fetch manifest @iobroker/plugin-base@~1.2.1 47 silly fetch manifest @iobroker/plugin-sentry@~1.2.0 48 silly fetch manifest axios@^0.24.0

    Vielen Dank für eure Hilfe.

    LG Lukas


  • @lacknelu denke du müsstest erst mal dein node und npm richtig installieren
    wenn das erledigt ist und dennoch kein upgrade funktioniert, dann im ersten Thread den Abschnitt "Bei Fehlern:" nochmal lesen


  • @lacknelu Ja, nodeJS und das Drumherum ist komplett schief.

    Das zuerst in Ordnung bringen. Siehe in meiner Signatur.


  • @lacknelu naja, du springst von der 3.1 über 3.2 und 3.3 zur 4.0 ... das ist ein "weiterer Weg" ... lies mal oben im ersten Post ... Mach einen "npm" install des 4er controller wie oben angegeben dann geht es auch

    PS: Hättest auch einfach mal ein paar Posts nach oben scrollen können, da gabs schon einen zweiten User mit genau dem gleichen problem

    Typeerror cannot read property manifest of null was heißt das


  • Mein Update ist absolut problemlos gelaufen, wieder einmal prima Arbeit von den Verantwortlichen. DANKE dafür.
    Eine Frage habe ich aber noch - Ich bekomme seit dem Update die Meldung

    influxdb.0 2022-04-02 17:38:44.229 warn No connection to DB

    Das ist erst einmal nicht tragisch, da ich eigentlich nur noch die influxdb.1 benutze. Die influxdb.0 zeigt auf eine externe db die es seit kurzem nicht mehr gibt und nicht mehr genutzt wird. Bisher hatte ich dazu keine Fehlermeldungen bekommen, erst nach dem Update. Meine Frage ist nun wie ich herausbekommen kann ob ich doch noch Objekte mit der alten influxdb.0 verknüpft habe.

    Würde ich Fehlermeldungen bekommen wenn dem so wäre? Dann lege ich mich dazu gleich wieder ganz beruhigt hin.


  • @aiouh sagte in js-controller 4.0.x jetzt für alle User im STABLE!:

    Meine Frage ist nun wie ich herausbekommen kann ob ich doch noch Objekte mit der alten influxdb.0 verknüpft habe.

    Wie meinst Du das?


  • @aiouh said in js-controller 4.0.x jetzt für alle User im STABLE!:

    Meine Frage ist nun wie ich herausbekommen kann ob ich doch noch Objekte mit der alten influxdb.0 verknüpft habe.

    Einfach die Objekte öffnen und dann rechts oben bei Einstellungen "influxdb.0" auswählen.

    Typeerror cannot read property manifest of null was heißt das

    Dann werden nur mehr Objekte angezeigt, die nach influxdb.0 speichern.


  • @apollon77, @Thomas Braun, @crunchip

    Danke für eure Unterstützung. Bin noch einmal alles durchgegangen und habe Node richtig gestellt. Zwischenzeitlich ist dann nichts mehr gegangen weil ich einfach leider viel zu wenig über die Thematik verstehe

    Typeerror cannot read property manifest of null was heißt das

    IOBroker läuft mittlerweile wieder und ich upgrade mich sukzessive in Richtung 4.X

    Danke & LG
    Lukas