rdmtc / RedMatic

Node-RED packaged as Addon for the Homematic CCU3 and RaspberryMatic 🤹‍♂️
Apache License 2.0
533 stars 47 forks source link

Install UI-Builder on RedMatic / CCU3 #463

Closed JoeWiseman closed 3 years ago

JoeWiseman commented 3 years ago

Hi there,

just red the thred about that UI-Builder i availible for RedMatic from v2 on .... Because I'm trying to set up new grid-based UI, I thought about testing it. Though there are no other hints I tried to install it via the Menu / Manage Palette / Install from within RedMatic v7.1.3 on CCU3 with the lastest firmware v3.55.5. grafik

Unfortunately the installation process ends up with some warnings (attached at the end), so the UI-Builder node is not installed. "Failed to install: node-red-contrib-uibuilder Cannot find module 'node-red-contrib-uibuilder' Check the log for more information"

Now I'm asking you guys (especially @psi-4ward @ptweety @Hypnos3) if there is anything to setup on CCU3 before installing the node?

Would be great to get some help.

Best wishes

Joe


2021-01-05T12:49:26.823Z Install : node-red-contrib-uibuilder 3.0.1

2021-01-05T12:49:25.143Z npm install --no-package-lock --global-style --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-uibuilder@3.0.1 2021-01-05T12:49:39.190Z [err] npm 2021-01-05T12:49:39.192Z [err] WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) 2021-01-05T12:49:53.260Z [out] 2021-01-05T12:49:53.260Z [out] > node-red-contrib-uibuilder@3.0.1 postinstall /usr/local/addons/redmatic/var/node_modules/node-red-contrib-uibuilder 2021-01-05T12:49:53.260Z [out] > node ./bin/uibpreinstalljs 2021-01-05T12:49:53.260Z [out] 2021-01-05T12:49:53.627Z [out] ========================= [UIBUILDER POSTINSTALL] ========================= 2021-01-05T12:49:53.630Z [out] Pre-installing vue & bootstrap-vue 2021-01-05T12:49:53.631Z [out] Please ignore warnings about missing peer dependencies for jquery, vue, bootstrap-vue 2021-01-05T12:49:53.631Z [out] ... this will take a minute ... 2021-01-05T12:49:53.631Z [out] 2021-01-05T12:51:36.202Z [out] npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1 2021-01-05T12:51:36.202Z [out] npm WARN bootstrap@4.5.3 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself. 2021-01-05T12:51:36.202Z [out] npm WARN node-red-project@0.0.1 No repository field. 2021-01-05T12:51:36.202Z [out] npm WARN node-red-project@0.0.1 No license field. 2021-01-05T12:51:36.202Z [out] 2021-01-05T12:51:36.202Z [out] 2021-01-05T12:51:36.204Z [out] Pre-install completed with warnings 2021-01-05T12:51:36.204Z [out] =========================================================================== 2021-01-05T12:51:36.204Z [out] 2021-01-05T12:51:37.504Z [err] npm 2021-01-05T12:51:37.505Z [err] WARN bootstrap@4.5.3 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself. 2021-01-05T12:51:37.545Z [err] npm 2021-01-05T12:51:37.546Z [err] WARN node-red-project@0.0.1 No repository field. 2021-01-05T12:51:37.585Z [err] npm 2021-01-05T12:51:37.586Z [err] WARN node-red-project@0.0.1 No license field. 2021-01-05T12:51:37.587Z [err] 2021-01-05T12:51:37.594Z [out] + node-red-contrib-uibuilder@3.0.1 2021-01-05T12:51:37.594Z [out] added 101 packages from 73 contributors in 129.321s 2021-01-05T12:51:37.681Z rc=0

psi-4ward commented 3 years ago

node-red-contrib-uibuilder@3.0.1 2021-01-05T12:51:37.594Z [out] added 101 packages from 73 contributors in 129.321s

Looks good for me?

JoeWiseman commented 3 years ago

Hi @psi-4ward, thanks for that super-fast answer .... From within the messages all looks good. But as I wrote there is a general Error-Message from the RedMatic server: grafik

Though I just put a message as text in my original post you might not noticed it .... And, of course, the node is not within the palette :-(

Hypnos3 commented 3 years ago

I have no idea.

JoeWiseman commented 3 years ago

Thanks @Hypnos3,

did you just install the node as I described it from within the RedMatic-UI?

Possible ways-out?

Regards Joe

JoeWiseman commented 3 years ago

Hi there,

just tried the latest ui-builder release 3.1.1 but the error-massage looks the same ...

So I thought about installing the mentioned node: jquery@1.9.1 - 3 but could not fint it when trying to access it via the Burger-Menu / Palette / Installation. The only one that can be found is a node named node-red-contrib-jquerify which seems to use the JQuery too :-(

I would be very happy if someone can help me!

Regards Joe


2021-01-19T06:10:38.114Z Install : node-red-contrib-uibuilder 3.1.1

2021-01-19T06:10:38.133Z npm install --no-package-lock --global-style --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-uibuilder@3.1.1 2021-01-19T06:10:54.152Z [err] npm 2021-01-19T06:10:54.153Z [err] WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) 2021-01-19T06:11:08.221Z [out] 2021-01-19T06:11:08.221Z [out] > node-red-contrib-uibuilder@3.1.1 postinstall /usr/local/addons/redmatic/var/node_modules/node-red-contrib-uibuilder 2021-01-19T06:11:08.221Z [out] > node ./bin/uibpreinstalljs 2021-01-19T06:11:08.221Z [out] 2021-01-19T06:11:08.570Z [out] ========================= [UIBUILDER POSTINSTALL] ========================= 2021-01-19T06:11:08.573Z [out] Pre-installing vue & bootstrap-vue 2021-01-19T06:11:08.574Z [out] Please ignore warnings about missing peer dependencies for jquery, vue, bootstrap-vue 2021-01-19T06:11:08.574Z [out] ... this will take some time - be patient ... 2021-01-19T06:11:08.574Z [out] 2021-01-19T06:12:53.439Z [out] npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1 2021-01-19T06:12:53.439Z [out] npm WARN bootstrap@4.5.3 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself. 2021-01-19T06:12:53.439Z [out] npm WARN node-red-project@0.0.1 No repository field. 2021-01-19T06:12:53.439Z [out] npm WARN node-red-project@0.0.1 No license field. 2021-01-19T06:12:53.439Z [out] 2021-01-19T06:12:53.439Z [out] 2021-01-19T06:12:53.440Z [out] Pre-install completed with warnings 2021-01-19T06:12:53.440Z [out] =========================================================================== 2021-01-19T06:12:53.440Z [out] 2021-01-19T06:12:54.836Z [err] npm 2021-01-19T06:12:54.837Z [err]
2021-01-19T06:12:54.837Z [err] WARN bootstrap@4.5.3 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself. 2021-01-19T06:12:54.878Z [err] npm 2021-01-19T06:12:54.878Z [err] WARN node-red-project@0.0.1 No repository field. 2021-01-19T06:12:54.918Z [err] npm 2021-01-19T06:12:54.919Z [err] WARN node-red-project@0.0.1 No license field. 2021-01-19T06:12:54.920Z [err] 2021-01-19T06:12:54.926Z [out] + node-red-contrib-uibuilder@3.1.1 2021-01-19T06:12:54.926Z [out] added 118 packages from 96 contributors in 134.363s 2021-01-19T06:12:55.010Z rc=0

Sineos commented 3 years ago

Versuch es mal manuell. Zuerst deinstallieren, dann installieren:

  1. https://github.com/rdmtc/RedMatic/wiki/Node-Installation#hinweise
  2. https://github.com/rdmtc/RedMatic/wiki/Node-Installation#installation-via-npm-auf-der-kommandozeile
JoeWiseman commented 3 years ago

Hi @Sineos, ich bin ja zu allen Schandtaten bereit ;-) Versuch der Deinstalltion:

npm uninstall --no-package-lock --global-style --save-prefix="~" --production node-red-contrib-uibuilder@3.1.1

npm WARN bootstrap@4.6.0 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself. npm WARN node-red-project@0.0.1 No repository field. npm WARN node-red-project@0.0.1 No license field.

audited 549 packages in 13.659s

32 packages are looking for funding run npm fund for details

found 4 vulnerabilities (2 low, 2 high) run npm audit fix to fix them, or npm audit for details

Danach habe ich versucht es wieder auf der SSH-Ebene zu installieren....

npm install --save --no-package-lock --global-style --save-prefix="~" --production node-red-contrib-uibuilder@3.1.1

npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)

node-red-contrib-uibuilder@3.1.1 postinstall /usr/local/addons/redmatic/var/node_modules/node-red-contrib-uibuilder node ./bin/uibpreinstalljs

========================= [UIBUILDER POSTINSTALL] ========================= Pre-installing vue & bootstrap-vue Please ignore warnings about missing peer dependencies for jquery, vue, bootstrap-vue ... this will take some time - be patient ...

npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1 npm WARN bootstrap@4.6.0 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself. npm WARN node-red-project@0.0.1 No repository field. npm WARN node-red-project@0.0.1 No license field.

Pre-install completed with warnings

npm WARN node-red-project@0.0.1 No repository field. npm WARN node-red-project@0.0.1 No license field.

32 packages are looking for funding run npm fund for details

found 7 vulnerabilities (2 low, 2 moderate, 3 high) run npm audit fix to fix them, or npm audit for details

.... hat also nicht den gewünschten Effekt gebracht.... :-)

JoeWiseman commented 3 years ago

Alternativ dazu habe ich mir mal die Liste der installierten Pakete anzeigen lassen, di natürlich beliebig lang ist .... aber vielleicht sagen Euch die Fehler am Ende ja etwas???

npm list

node-red-project@0.0.1 /usr/local/addons/redmatic/var +-- bootstrap-vue@2.21.2 | +-- @nuxt/opencollective@0.3.2 | | +-- chalk@4.1.0 | | | +-- ansi-styles@4.3.0 | | | | -- color-convert@2.0.1 | | | |-- color-name@1.1.4 | | | -- supports-color@7.2.0 | | |-- has-flag@4.0.0 | | +-- consola@2.15.0 | | -- node-fetch@2.6.1 | +-- bootstrap@4.6.0 | +-- UNMET PEER DEPENDENCY jquery@1.9.1 - 3 | +-- popper.js@1.16.1 | +-- portal-vue@2.1.7 |-- vue-functional-data-merge@3.1.0 +-- UNMET DEPENDENCY jquery@~1.9.1 +-- node-red-contrib-ccu@3.2.1 | +-- binrpc@3.3.1 | | +-- binary@0.3.0 | | | +-- buffers@0.1.1 | | | -- chainsaw@0.1.0 | | |-- traverse@0.3.9 | | -- put@0.0.6 | +-- buffer-base62@0.1.2 | | +-- big-number@1.0.0 | | +-- buffer-reverse@1.0.1 | |-- underscore@1.12.0 | +-- hm-discover@1.1.3 | | +-- async@3.2.0 | | -- binary@0.3.0 deduped | +-- homematic-rega@1.5.2 | | +-- iconv-lite@0.6.2 | | |-- safer-buffer@2.1.2 | | +-- request@2.88.2 | | | +-- aws-sign2@0.7.0 | | | +-- aws4@1.11.0 | | | +-- caseless@0.12.0 | | | +-- combined-stream@1.0.8 | | | | -- delayed-stream@1.0.0 | | | +-- extend@3.0.2 | | | +-- forever-agent@0.6.1 | | | +-- form-data@2.3.3 | | | | +-- asynckit@0.4.0 | | | | +-- combined-stream@1.0.8 deduped | | | |-- mime-types@2.1.27 deduped | | | +-- har-validator@5.1.5 | | | | +-- ajv@6.12.6 | | | | | +-- fast-deep-equal@3.1.3 | | | | | +-- fast-json-stable-stringify@2.1.0 | | | | | +-- json-schema-traverse@0.4.1 | | | | | -- uri-js@4.4.0 | | | | |-- punycode@2.1.1 deduped | | | | -- har-schema@2.0.0 | | | +-- http-signature@1.2.0 | | | | +-- assert-plus@1.0.0 | | | | +-- jsprim@1.4.1 | | | | | +-- assert-plus@1.0.0 deduped | | | | | +-- extsprintf@1.3.0 | | | | | +-- json-schema@0.2.3 | | | | |-- verror@1.10.0 | | | | | +-- assert-plus@1.0.0 deduped | | | | | +-- core-util-is@1.0.2 | | | | | -- extsprintf@1.3.0 deduped | | | |-- sshpk@1.16.1 | | | | +-- asn1@0.2.4 | | | | | -- safer-buffer@2.1.2 deduped | | | | +-- assert-plus@1.0.0 deduped | | | | +-- bcrypt-pbkdf@1.0.2 | | | | |-- tweetnacl@0.14.5 deduped | | | | +-- dashdash@1.14.1 | | | | | -- assert-plus@1.0.0 deduped | | | | +-- ecc-jsbn@0.1.2 | | | | | +-- jsbn@0.1.1 deduped | | | | |-- safer-buffer@2.1.2 deduped | | | | +-- getpass@0.1.7 | | | | | -- assert-plus@1.0.0 deduped | | | | +-- jsbn@0.1.1 | | | | +-- safer-buffer@2.1.2 deduped | | | |-- tweetnacl@0.14.5 | | | +-- is-typedarray@1.0.0 | | | +-- isstream@0.1.2 | | | +-- json-stringify-safe@5.0.1 | | | +-- mime-types@2.1.27 | | | | -- mime-db@1.44.0 | | | +-- oauth-sign@0.9.0 | | | +-- performance-now@2.1.0 | | | +-- qs@6.5.2 | | | +-- safe-buffer@5.2.1 | | | +-- tough-cookie@2.5.0 | | | | +-- psl@1.8.0 | | | |-- punycode@2.1.1 | | | +-- tunnel-agent@0.6.0 | | | | -- safe-buffer@5.2.1 deduped | | |-- uuid@3.4.0 | | +-- temp-dir@2.0.0 | | -- xml2js@0.4.23 | | +-- sax@1.2.4 | |-- xmlbuilder@11.0.1 | +-- homematic-xmlrpc@1.0.2 | | +-- sax@0.4.3 | | -- xmlbuilder@0.4.2 | +-- mqtt-wildcard@3.0.9 | +-- nextport@1.0.0 | +-- obj-ease@1.0.1 | +-- promise.prototype.finally@3.1.2 | | +-- define-properties@1.1.3 | | |-- object-keys@1.1.1 | | +-- es-abstract@1.17.7 | | | +-- es-to-primitive@1.2.1 | | | | +-- is-callable@1.2.2 deduped | | | | +-- is-date-object@1.0.2 | | | | -- is-symbol@1.0.3 | | | |-- has-symbols@1.0.1 deduped | | | +-- function-bind@1.1.1 deduped | | | +-- has@1.0.3 | | | | -- function-bind@1.1.1 deduped | | | +-- has-symbols@1.0.1 | | | +-- is-callable@1.2.2 | | | +-- is-regex@1.1.1 | | | |-- has-symbols@1.0.1 deduped | | | +-- object-inspect@1.9.0 | | | +-- object-keys@1.1.1 deduped | | | +-- object.assign@4.1.2 | | | | +-- call-bind@1.0.0 | | | | | +-- function-bind@1.1.1 deduped | | | | | -- get-intrinsic@1.0.1 | | | | | +-- function-bind@1.1.1 deduped | | | | | +-- has@1.0.3 deduped | | | | |-- has-symbols@1.0.1 deduped | | | | +-- define-properties@1.1.3 deduped | | | | +-- has-symbols@1.0.1 deduped | | | | -- object-keys@1.1.1 deduped | | | +-- string.prototype.trimend@1.0.3 | | | | +-- call-bind@1.0.0 deduped | | | | +-- define-properties@1.1.3 deduped | | | |-- es-abstract@1.18.0-next.1 extraneous | | | -- string.prototype.trimstart@1.0.3 | | | +-- call-bind@1.0.0 deduped | | | +-- define-properties@1.1.3 deduped | | |-- es-abstract@1.18.0-next.1 extraneous | | -- function-bind@1.1.1 | +-- string-similarity@4.0.3 | +-- string.prototype.trimleft@2.1.2 extraneous |-- string.prototype.trimright@2.1.2 extraneous +-- node-red-contrib-combine@1.8.1 +-- node-red-contrib-sonos-plus@2.1.10 | +-- axios@0.19.2 | | -- follow-redirects@1.5.10 | |-- debug@3.1.0 | | -- ms@2.0.0 | +-- sonos@1.13.0 | | +-- axios@0.19.2 deduped | | +-- debug@4.1.1 | | |-- ms@2.1.2 | | +-- ip@1.1.5 | | -- xml2js@0.4.23 deduped |-- xml2js@0.4.23 | +-- sax@1.2.4 | -- xmlbuilder@11.0.1 +-- node-red-contrib-sun-position@1.1.7 +-- node-red-contrib-tasmota@0.9.3 +-- node-red-contrib-uibuilder@3.1.3 | +-- body-parser@1.19.0 | | +-- bytes@3.1.0 | | +-- content-type@1.0.4 | | +-- debug@2.6.9 | | |-- ms@2.0.0 | | +-- depd@1.1.2 | | +-- http-errors@1.7.2 | | | +-- depd@1.1.2 deduped | | | +-- inherits@2.0.3 | | | +-- setprototypeof@1.1.1 | | | +-- statuses@1.5.0 | | | -- toidentifier@1.0.0 | | +-- iconv-lite@0.4.24 | | |-- safer-buffer@2.1.2 | | +-- on-finished@2.3.0 | | | -- ee-first@1.1.1 | | +-- qs@6.7.0 | | +-- raw-body@2.4.0 | | | +-- bytes@3.1.0 deduped | | | +-- http-errors@1.7.2 deduped | | | +-- iconv-lite@0.4.24 deduped | | |-- unpipe@1.0.0 | | -- type-is@1.6.18 | | +-- media-typer@0.3.0 | |-- mime-types@2.1.28 deduped | +-- express-validator@6.9.2 | | +-- lodash@4.17.20 | | -- validator@13.5.2 | +-- fast-glob@3.2.5 | | +-- @nodelib/fs.stat@2.0.4 | | +-- @nodelib/fs.walk@1.2.6 | | | +-- @nodelib/fs.scandir@2.1.4 | | | | +-- @nodelib/fs.stat@2.0.4 deduped | | | |-- run-parallel@1.1.10 | | | -- fastq@1.10.0 | | |-- reusify@1.0.4 | | +-- glob-parent@5.1.1 | | | -- is-glob@4.0.1 | | |-- is-extglob@2.1.1 | | +-- merge2@1.4.1 | | +-- micromatch@4.0.2 | | | +-- braces@3.0.2 | | | | -- fill-range@7.0.1 | | | |-- to-regex-range@5.0.1 | | | | -- is-number@7.0.0 | | |-- picomatch@2.2.2 deduped | | -- picomatch@2.2.2 | +-- fs-extra@9.1.0 | | +-- at-least-node@1.0.0 | | +-- graceful-fs@4.2.4 | | +-- jsonfile@6.1.0 | | | +-- graceful-fs@4.2.4 deduped | | |-- universalify@2.0.0 deduped | | -- universalify@2.0.0 | +-- jsonwebtoken@8.5.1 | | +-- jws@3.2.2 | | | +-- jwa@1.4.1 | | | | +-- buffer-equal-constant-time@1.0.1 | | | | +-- ecdsa-sig-formatter@1.0.11 | | | | |-- safe-buffer@5.2.1 deduped | | | | -- safe-buffer@5.2.1 deduped | | |-- safe-buffer@5.2.1 | | +-- lodash.includes@4.3.0 | | +-- lodash.isboolean@3.0.3 | | +-- lodash.isinteger@4.0.4 | | +-- lodash.isnumber@3.0.3 | | +-- lodash.isplainobject@4.0.6 | | +-- lodash.isstring@4.0.1 | | +-- lodash.once@4.1.1 | | +-- ms@2.1.3 | | -- semver@5.7.1 | +-- serve-index@1.9.1 | | +-- accepts@1.3.7 | | | +-- mime-types@2.1.28 deduped | | |-- negotiator@0.6.2 | | +-- batch@0.6.1 | | +-- debug@2.6.9 deduped | | +-- escape-html@1.0.3 | | +-- http-errors@1.6.3 | | | +-- depd@1.1.2 deduped | | | +-- inherits@2.0.3 deduped | | | +-- setprototypeof@1.1.0 | | | -- statuses@1.5.0 deduped | | +-- mime-types@2.1.28 | | |-- mime-db@1.45.0 | | -- parseurl@1.3.3 | +-- serve-static@1.14.1 | | +-- encodeurl@1.0.2 | | +-- escape-html@1.0.3 deduped | | +-- parseurl@1.3.3 deduped | |-- send@0.17.1 | | +-- debug@2.6.9 deduped | | +-- depd@1.1.2 deduped | | +-- destroy@1.0.4 | | +-- encodeurl@1.0.2 deduped | | +-- escape-html@1.0.3 deduped | | +-- etag@1.8.1 | | +-- fresh@0.5.2 | | +-- http-errors@1.7.2 deduped | | +-- mime@1.6.0 | | +-- ms@2.1.1 | | +-- on-finished@2.3.0 deduped | | +-- range-parser@1.2.1 | | -- statuses@1.5.0 deduped |-- socket.io@2.4.1 | +-- debug@4.1.1 | | -- ms@2.1.3 | +-- engine.io@3.5.0 | | +-- accepts@1.3.7 deduped | | +-- base64id@2.0.0 | | +-- cookie@0.4.1 | | +-- debug@4.1.1 | | |-- ms@2.1.3 | | +-- engine.io-parser@2.2.1 | | | +-- after@0.8.2 | | | +-- arraybuffer.slice@0.0.7 | | | +-- base64-arraybuffer@0.1.4 | | | +-- blob@0.0.5 | | | -- has-binary2@1.0.3 deduped | |-- ws@7.4.2 | +-- has-binary2@1.0.3 | | -- isarray@2.0.1 | +-- socket.io-adapter@1.1.2 | +-- socket.io-client@2.4.0 | | +-- backo2@1.0.2 | | +-- component-bind@1.0.0 | | +-- component-emitter@1.3.0 | | +-- debug@3.1.0 | | |-- ms@2.0.0 deduped | | +-- engine.io-client@3.5.0 | | | +-- component-emitter@1.3.0 deduped | | | +-- component-inherit@0.0.3 | | | +-- debug@3.1.0 | | | | -- ms@2.0.0 deduped | | | +-- engine.io-parser@2.2.1 deduped | | | +-- has-cors@1.1.0 | | | +-- indexof@0.0.1 deduped | | | +-- parseqs@0.0.6 deduped | | | +-- parseuri@0.0.6 deduped | | | +-- ws@7.4.2 deduped | | | +-- xmlhttprequest-ssl@1.5.5 | | |-- yeast@0.1.2 | | +-- has-binary2@1.0.3 deduped | | +-- indexof@0.0.1 | | +-- parseqs@0.0.6 | | +-- parseuri@0.0.6 | | +-- socket.io-parser@3.3.2 | | | +-- component-emitter@1.3.0 deduped | | | +-- debug@3.1.0 deduped | | | -- isarray@2.0.1 deduped | |-- to-array@0.1.4 | -- socket.io-parser@3.4.1 | +-- component-emitter@1.2.1 | +-- debug@4.1.1 | |-- ms@2.1.3 | -- isarray@2.0.1 deduped +-- node-red-contrib-web-worldmap@2.3.8 | +-- cgi@0.3.1 | | +-- debug@2.6.9 | | |-- ms@2.0.0 | | +-- extend@2.0.2 | | +-- header-stack@0.0.2 | | | +-- bufferjs@3.0.1 | | | +-- bufferlist@0.1.0 | | | -- stream-stack@1.1.4 deduped | |-- stream-stack@1.1.4 | +-- compression@1.7.4 | | +-- accepts@1.3.7 | | | +-- mime-types@2.1.26 | | | | -- mime-db@1.43.0 deduped | | |-- negotiator@0.6.2 | | +-- bytes@3.0.0 | | +-- compressible@2.0.18 | | | -- mime-db@1.43.0 | | +-- debug@2.6.9 deduped | | +-- on-headers@1.0.2 | | +-- safe-buffer@5.1.2 | |-- vary@1.1.2 | +-- express@4.17.1 | | +-- accepts@1.3.7 deduped | | +-- array-flatten@1.1.1 | | +-- body-parser@1.19.0 | | | +-- bytes@3.1.0 | | | +-- content-type@1.0.4 deduped | | | +-- debug@2.6.9 deduped | | | +-- depd@1.1.2 deduped | | | +-- http-errors@1.7.2 | | | | +-- depd@1.1.2 deduped | | | | +-- inherits@2.0.3 | | | | +-- setprototypeof@1.1.1 deduped | | | | +-- statuses@1.5.0 deduped | | | | -- toidentifier@1.0.0 | | | +-- iconv-lite@0.4.24 | | | |-- safer-buffer@2.1.2 | | | +-- on-finished@2.3.0 deduped | | | +-- qs@6.7.0 deduped | | | +-- raw-body@2.4.0 | | | | +-- bytes@3.1.0 | | | | +-- http-errors@1.7.2 deduped | | | | +-- iconv-lite@0.4.24 deduped | | | | -- unpipe@1.0.0 deduped | | |-- type-is@1.6.18 deduped | | +-- content-disposition@0.5.3 | | | -- safe-buffer@5.1.2 deduped | | +-- content-type@1.0.4 | | +-- cookie@0.4.0 | | +-- cookie-signature@1.0.6 | | +-- debug@2.6.9 deduped | | +-- depd@1.1.2 | | +-- encodeurl@1.0.2 | | +-- escape-html@1.0.3 | | +-- etag@1.8.1 | | +-- finalhandler@1.1.2 | | | +-- debug@2.6.9 deduped | | | +-- encodeurl@1.0.2 deduped | | | +-- escape-html@1.0.3 deduped | | | +-- on-finished@2.3.0 deduped | | | +-- parseurl@1.3.3 deduped | | | +-- statuses@1.5.0 deduped | | |-- unpipe@1.0.0 | | +-- fresh@0.5.2 | | +-- merge-descriptors@1.0.1 | | +-- methods@1.1.2 | | +-- on-finished@2.3.0 | | | -- ee-first@1.1.1 | | +-- parseurl@1.3.3 | | +-- path-to-regexp@0.1.7 | | +-- proxy-addr@2.0.6 | | | +-- forwarded@0.1.2 | | |-- ipaddr.js@1.9.1 | | +-- qs@6.7.0 | | +-- range-parser@1.2.1 | | +-- safe-buffer@5.1.2 deduped | | +-- send@0.17.1 | | | +-- debug@2.6.9 deduped | | | +-- depd@1.1.2 deduped | | | +-- destroy@1.0.4 | | | +-- encodeurl@1.0.2 deduped | | | +-- escape-html@1.0.3 deduped | | | +-- etag@1.8.1 deduped | | | +-- fresh@0.5.2 deduped | | | +-- http-errors@1.7.2 deduped | | | +-- mime@1.6.0 | | | +-- ms@2.1.1 | | | +-- on-finished@2.3.0 deduped | | | +-- range-parser@1.2.1 deduped | | | -- statuses@1.5.0 deduped | | +-- serve-static@1.14.1 | | | +-- encodeurl@1.0.2 deduped | | | +-- escape-html@1.0.3 deduped | | | +-- parseurl@1.3.3 deduped | | |-- send@0.17.1 deduped | | +-- setprototypeof@1.1.1 | | +-- statuses@1.5.0 | | +-- type-is@1.6.18 | | | +-- media-typer@0.3.0 | | | -- mime-types@2.1.26 deduped | | +-- utils-merge@1.0.1 | |-- vary@1.1.2 deduped | -- sockjs@0.3.20 | +-- faye-websocket@0.10.0 | |-- websocket-driver@0.6.5 deduped | +-- uuid@3.4.0 | -- websocket-driver@0.6.5 |-- websocket-extensions@0.1.3 +-- node-red-dashboard@2.25.0 | +-- compression@1.7.4 | | +-- accepts@1.3.7 | | | +-- mime-types@2.1.27 | | | | -- mime-db@1.44.0 deduped | | |-- negotiator@0.6.2 | | +-- bytes@3.0.0 | | +-- compressible@2.0.18 | | | -- mime-db@1.44.0 | | +-- debug@2.6.9 | | |-- ms@2.0.0 | | +-- on-headers@1.0.2 | | +-- safe-buffer@5.1.2 | | -- vary@1.1.2 | +-- gridstack@0.6.4 | |-- jquery@3.5.1 | +-- serve-static@1.14.1 | | +-- encodeurl@1.0.2 | | +-- escape-html@1.0.3 | | +-- parseurl@1.3.3 | | -- send@0.17.1 | | +-- debug@2.6.9 deduped | | +-- depd@1.1.2 | | +-- destroy@1.0.4 | | +-- encodeurl@1.0.2 deduped | | +-- escape-html@1.0.3 deduped | | +-- etag@1.8.1 | | +-- fresh@0.5.2 | | +-- http-errors@1.7.3 | | | +-- depd@1.1.2 deduped | | | +-- inherits@2.0.4 | | | +-- setprototypeof@1.1.1 | | | +-- statuses@1.5.0 deduped | | |-- toidentifier@1.0.0 | | +-- mime@1.6.0 | | +-- ms@2.1.1 | | +-- on-finished@2.3.0 | | | -- ee-first@1.1.1 | | +-- range-parser@1.2.1 | |-- statuses@1.5.0 | -- socket.io@2.3.0 | +-- debug@4.1.1 | |-- ms@2.1.3 | +-- engine.io@3.4.2 | | +-- accepts@1.3.7 deduped | | +-- base64id@2.0.0 | | +-- cookie@0.3.1 | | +-- debug@4.1.1 | | | -- ms@2.1.3 | | +-- engine.io-parser@2.2.1 | | | +-- after@0.8.2 | | | +-- arraybuffer.slice@0.0.7 | | | +-- base64-arraybuffer@0.1.4 | | | +-- blob@0.0.5 | | |-- has-binary2@1.0.3 deduped | | -- ws@7.4.1 | +-- has-binary2@1.0.3 | |-- isarray@2.0.1 | +-- socket.io-adapter@1.1.2 | +-- socket.io-client@2.3.0 | | +-- backo2@1.0.2 | | +-- base64-arraybuffer@0.1.5 | | +-- component-bind@1.0.0 | | +-- component-emitter@1.2.1 | | +-- debug@4.1.1 | | | -- ms@2.1.3 | | +-- engine.io-client@3.4.4 | | | +-- component-emitter@1.3.0 | | | +-- component-inherit@0.0.3 | | | +-- debug@3.1.0 | | | |-- ms@2.0.0 | | | +-- engine.io-parser@2.2.1 deduped | | | +-- has-cors@1.1.0 deduped | | | +-- indexof@0.0.1 deduped | | | +-- ms@2.1.2 extraneous | | | +-- parseqs@0.0.6 | | | +-- parseuri@0.0.6 | | | +-- ws@6.1.4 | | | | -- async-limiter@1.0.1 | | | +-- xmlhttprequest-ssl@1.5.5 | | |-- yeast@0.1.2 | | +-- has-binary2@1.0.3 deduped | | +-- has-cors@1.1.0 | | +-- indexof@0.0.1 | | +-- object-component@0.0.3 | | +-- parseqs@0.0.5 | | | -- better-assert@1.0.2 | | |-- callsite@1.0.0 | | +-- parseuri@0.0.5 | | | -- better-assert@1.0.2 deduped | | +-- socket.io-parser@3.3.1 | | | +-- component-emitter@1.3.0 | | | +-- debug@3.1.0 | | | |-- ms@2.0.0 | | | -- isarray@2.0.1 deduped | |-- to-array@0.1.4 | -- socket.io-parser@3.4.1 | +-- component-emitter@1.2.1 deduped | +-- debug@4.1.1 | |-- ms@2.1.3 | -- isarray@2.0.1 deduped +-- node-red-node-email@1.8.2 | +-- imap@0.8.19 | | +-- readable-stream@1.1.14 | | | +-- core-util-is@1.0.2 | | | +-- inherits@2.0.4 | | | +-- isarray@0.0.1 | | |-- string_decoder@0.10.31 | | -- utf7@1.0.2 | |-- semver@5.3.0 | +-- mailparser@3.0.1 | | +-- encoding-japanese@1.0.30 | | +-- he@1.2.0 | | +-- html-to-text@6.0.0 | | | +-- deepmerge@4.2.2 | | | +-- he@1.2.0 deduped | | | +-- htmlparser2@4.1.0 | | | | +-- domelementtype@2.1.0 | | | | +-- domhandler@3.3.0 | | | | | -- domelementtype@2.1.0 deduped | | | | +-- domutils@2.4.4 | | | | | +-- dom-serializer@1.2.0 | | | | | | +-- domelementtype@2.0.2 | | | | | | +-- domhandler@4.0.0 | | | | | | |-- domelementtype@2.1.0 | | | | | | -- entities@2.1.0 | | | | | +-- domelementtype@2.1.0 deduped | | | | |-- domhandler@4.0.0 | | | | | -- domelementtype@2.1.0 deduped | | | | +-- entities@2.1.0 | | | |-- readable-stream@3.6.0 extraneous | | | +-- lodash@4.17.20 | | | -- minimist@1.2.5 | | +-- iconv-lite@0.6.2 | | |-- safer-buffer@2.1.2 | | +-- libmime@5.0.0 | | | +-- encoding-japanese@1.0.30 deduped | | | +-- iconv-lite@0.6.2 deduped | | | +-- libbase64@1.2.1 | | | -- libqp@1.1.0 | | +-- linkify-it@3.0.2 | | |-- uc.micro@1.0.6 | | +-- mailsplit@5.0.0 | | | +-- libbase64@1.2.1 deduped | | | +-- libmime@4.2.1 | | | | +-- encoding-japanese@1.0.30 deduped | | | | +-- iconv-lite@0.5.0 | | | | | -- safer-buffer@2.1.2 deduped | | | | +-- libbase64@1.2.1 deduped | | | |-- libqp@1.1.0 deduped | | | -- libqp@1.1.0 deduped | | +-- nodemailer@6.4.16 | |-- tlds@1.214.0 | +-- nodemailer@6.4.17 | +-- poplib@0.1.7 | | -- optimist@0.6.1 | | +-- minimist@0.0.10 | |-- wordwrap@0.0.3 | -- smtp-server@3.8.0 | +-- base32.js@0.1.0 | +-- ipv6-normalize@1.0.1 |-- nodemailer@6.4.16 +-- node-red-node-openweathermap@0.2.2 | -- request@2.88.2 | +-- aws-sign2@0.7.0 | +-- aws4@1.9.1 | +-- caseless@0.12.0 | +-- combined-stream@1.0.8 | |-- delayed-stream@1.0.0 | +-- extend@3.0.2 | +-- forever-agent@0.6.1 | +-- form-data@2.3.3 | | +-- asynckit@0.4.0 | | +-- combined-stream@1.0.8 deduped | | -- mime-types@2.1.26 deduped | +-- har-validator@5.1.3 | | +-- ajv@6.12.2 | | | +-- fast-deep-equal@3.1.1 | | | +-- fast-json-stable-stringify@2.1.0 | | | +-- json-schema-traverse@0.4.1 | | |-- uri-js@4.2.2 | | | -- punycode@2.1.1 deduped | |-- har-schema@2.0.0 | +-- http-signature@1.2.0 | | +-- assert-plus@1.0.0 | | +-- jsprim@1.4.1 | | | +-- assert-plus@1.0.0 deduped | | | +-- extsprintf@1.3.0 | | | +-- json-schema@0.2.3 | | | -- verror@1.10.0 | | | +-- assert-plus@1.0.0 deduped | | | +-- core-util-is@1.0.2 | | |-- extsprintf@1.3.0 deduped | | -- sshpk@1.16.1 | | +-- asn1@0.2.4 | | |-- safer-buffer@2.1.2 deduped | | +-- assert-plus@1.0.0 deduped | | +-- bcrypt-pbkdf@1.0.2 | | | -- tweetnacl@0.14.5 deduped | | +-- dashdash@1.14.1 | | |-- assert-plus@1.0.0 deduped | | +-- ecc-jsbn@0.1.2 | | | +-- jsbn@0.1.1 deduped | | | -- safer-buffer@2.1.2 deduped | | +-- getpass@0.1.7 | | |-- assert-plus@1.0.0 deduped | | +-- jsbn@0.1.1 | | +-- safer-buffer@2.1.2 | | -- tweetnacl@0.14.5 | +-- is-typedarray@1.0.0 | +-- isstream@0.1.2 | +-- json-stringify-safe@5.0.1 | +-- mime-types@2.1.26 | |-- mime-db@1.43.0 | +-- oauth-sign@0.9.0 | +-- performance-now@2.1.0 | +-- qs@6.5.2 | +-- safe-buffer@5.2.0 | +-- tough-cookie@2.5.0 | | +-- psl@1.8.0 | | -- punycode@2.1.1 | +-- tunnel-agent@0.6.0 | |-- safe-buffer@5.2.0 deduped | -- uuid@3.4.0 +-- node-red-node-rbe@0.2.9 +-- redmatic-led@1.1.0 +-- redmatic-webapp@0.3.1 | +-- serve-static@1.13.2 | | +-- encodeurl@1.0.2 | | +-- escape-html@1.0.3 | | +-- parseurl@1.3.3 | |-- send@0.16.2 | | +-- debug@2.6.9 | | | -- ms@2.0.0 deduped | | +-- depd@1.1.2 | | +-- destroy@1.0.4 | | +-- encodeurl@1.0.2 deduped | | +-- escape-html@1.0.3 deduped | | +-- etag@1.8.1 | | +-- fresh@0.5.2 | | +-- http-errors@1.6.3 | | | +-- depd@1.1.2 deduped | | | +-- inherits@2.0.3 | | | +-- setprototypeof@1.1.0 | | |-- statuses@1.4.0 deduped | | +-- mime@1.4.1 | | +-- ms@2.0.0 | | +-- on-finished@2.3.0 | | | -- ee-first@1.1.1 | | +-- range-parser@1.2.1 | |-- statuses@1.4.0 | -- socket.io@2.2.0 | +-- debug@4.1.1 | |-- ms@2.1.3 | +-- engine.io@3.3.2 | | +-- accepts@1.3.7 | | | +-- mime-types@2.1.27 | | | | -- mime-db@1.44.0 | | |-- negotiator@0.6.2 | | +-- base64id@1.0.0 | | +-- cookie@0.3.1 | | +-- debug@3.1.0 | | | -- ms@2.0.0 deduped | | +-- engine.io-parser@2.1.3 | | | +-- after@0.8.2 | | | +-- arraybuffer.slice@0.0.7 | | | +-- base64-arraybuffer@0.1.5 deduped | | | +-- blob@0.0.5 | | |-- has-binary2@1.0.3 deduped | | -- ws@6.1.4 | |-- async-limiter@1.0.1 | +-- has-binary2@1.0.3 | | -- isarray@2.0.1 | +-- socket.io-adapter@1.1.2 | +-- socket.io-client@2.2.0 | | +-- backo2@1.0.2 | | +-- base64-arraybuffer@0.1.5 | | +-- component-bind@1.0.0 | | +-- component-emitter@1.2.1 | | +-- debug@3.1.0 | | |-- ms@2.0.0 deduped | | +-- engine.io-client@3.3.2 | | | +-- component-emitter@1.2.1 deduped | | | +-- component-inherit@0.0.3 | | | +-- debug@3.1.0 | | | | -- ms@2.0.0 deduped | | | +-- engine.io-parser@2.1.3 deduped | | | +-- has-cors@1.1.0 deduped | | | +-- indexof@0.0.1 deduped | | | +-- parseqs@0.0.5 deduped | | | +-- parseuri@0.0.5 deduped | | | +-- ws@6.1.4 deduped | | | +-- xmlhttprequest-ssl@1.5.5 | | |-- yeast@0.1.2 | | +-- has-binary2@1.0.3 deduped | | +-- has-cors@1.1.0 | | +-- indexof@0.0.1 | | +-- object-component@0.0.3 | | +-- parseqs@0.0.5 | | | -- better-assert@1.0.2 | | |-- callsite@1.0.0 | | +-- parseuri@0.0.5 | | | -- better-assert@1.0.2 deduped | | +-- socket.io-parser@3.3.1 deduped | |-- to-array@0.1.4 | -- socket.io-parser@3.3.1 | +-- component-emitter@1.3.0 | +-- debug@3.1.0 | |-- ms@2.0.0 deduped | -- isarray@2.0.1 deduped -- vue@2.6.12

npm ERR! missing: jquery@~1.9.1, required by node-red-project@0.0.1 npm ERR! peer dep missing: jquery@1.9.1 - 3, required by bootstrap@4.6.0 npm ERR! extraneous: string.prototype.trimleft@2.1.2 /usr/local/addons/redmatic/var/node_modules/node-red-contrib-ccu/node_modules/string.prototype.trimleft npm ERR! extraneous: string.prototype.trimright@2.1.2 /usr/local/addons/redmatic/var/node_modules/node-red-contrib-ccu/node_modules/string.prototype.trimright npm ERR! extraneous: es-abstract@1.18.0-next.1 /usr/local/addons/redmatic/var/node_modules/node-red-contrib-ccu/node_modules/string.prototype.trimend/node_modules/es-abstract npm ERR! extraneous: es-abstract@1.18.0-next.1 /usr/local/addons/redmatic/var/node_modules/node-red-contrib-ccu/node_modules/string.prototype.trimstart/node_modules/es-abstract npm ERR! extraneous: ms@2.1.2 /usr/local/addons/redmatic/var/node_modules/node-red-dashboard/node_modules/engine.io-client/node_modules/ms npm ERR! extraneous: readable-stream@3.6.0 /usr/local/addons/redmatic/var/node_modules/node-red-node-email/node_modules/htmlparser2/node_modules/readable-stream #

JoeWiseman commented 3 years ago

... mal anders gefragt: Macht es Sinn, dass ich Redmatic noch einmal deinstalliere, die Verzeichnisse (inkl.Unterverzeichnissen und Dateien ;-))

/usr/local/addons/redmatic /usr/local/addons/redmatic.static

lösche und dann das ganze noch einmal neu installiere?

Wenn ja, welche Verzeichnisse muss ich sichern, damit meine Flows nicht verlorengehen und ich die dann nach einer Neuinstalltion wieder herstellen kann?

Sineos commented 3 years ago

Seltsam. Die Informationen aus dem Install sehen ja eher unauffällig aus. Warnings sind OK, die gibt es aus verschiedensten Gründen immer mal. Also was ich aus diesem Log sehe ist die Installation durchaus sauber durch gelaufen.

Ich hab jetzt mal auf dem gleichen Weg über die Konsole installiert:

root@homematic-raspi:/usr/local/addons/redmatic/var# npm install --save --no-package-lock --global-style --save-prefix="~" --production node-red-contrib-uibuilder@3.1.1
npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)

> node-red-contrib-uibuilder@3.1.1 postinstall /usr/local/addons/redmatic/var/node_modules/node-red-contrib-uibuilder
> node ./bin/uibpreinstalljs

========================= [UIBUILDER POSTINSTALL] =========================
Pre-installing vue & bootstrap-vue
Please ignore warnings about missing peer dependencies for jquery, vue, bootstrap-vue
   ... this will take some time - be patient ...

npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN bootstrap@4.6.0 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself.
npm WARN node-red-project@0.0.1 No repository field.
npm WARN node-red-project@0.0.1 No license field.

Pre-install completed with warnings
===========================================================================

npm WARN node-red-contrib-uibuilder@3.1.1 requires a peer of bootstrap-vue@^2.17.3 but none is installed. You must install peer dependencies yourself.
npm WARN node-red-contrib-uibuilder@3.1.1 requires a peer of vue@^2.6.12 but none is installed. You must install peer dependencies yourself.
npm WARN node-red-project@0.0.1 No repository field.
npm WARN node-red-project@0.0.1 No license field.

+ node-red-contrib-uibuilder@3.1.1
added 116 packages from 97 contributors and audited 742 packages in 138.602s

30 packages are looking for funding
  run `npm fund` for details

found 12 vulnerabilities (5 low, 7 high)
  run `npm audit fix` to fix them, or `npm audit` for details
root@homematic-raspi:/usr/local/addons/redmatic/var# 

Das Ergebnis war: Kein UI-Builder in Node-Red

...also, wenn ich schon dabei bin mein Produktivsystem zu versauen: Nochmal über den Paletten-Manager drüber installiert: UI-Builder ist da.

Falls du alles platt machen willst: https://github.com/rdmtc/RedMatic/wiki/Backup

P.S.: Wenn du solche Logs postest, wäre es schön du würdest die Code Tags aus dem Editor hier benutzen, dann sieht das ganze viel lesbarer aus.

Sineos commented 3 years ago

Edit:

Vergessen zu erwähnen: Zwischen der Installation über die Konsole und dem nochmaligen drüber bügeln aus dem Paletten- Manager lag noch ein

root@homematic-raspi:/usr/local/addons/redmatic/var# npm install vue@"2.*" bootstrap-vue@"2.*"

Keine Ahnung, ob das einen Unterschied gemacht hat.

JoeWiseman commented 3 years ago

Hi @Sineos

vielen Dnak für Deine Antwrten. Sorry für den Formatierungsmüll! Hatte ich gar nicht dran gedacht!

...Ich weiß jetzt nicht genau woran es lag..... ich habe auf jeden Fall auf der SSH-Ebene vue-Paket installiert (npm install vue@"2." bootstrap-vue@"2.") danach hae ich auf der SSH-Ebene noch das Paket uibuilder 3.1.1 installiert..... Das hatte dann keinen Erfolg.

Im Redmatic-UI habe ich dann via Menu einen letzten Versuch gestartet und das aktulle 3.1.3 Paket, das vor 20h herausgekommen war installiert .... und eh voilla jetzt läuft es. Ich habe einen Test-Flow heruntergeladen und da funktionierte alles!

Leider kann ich jetzt für andere keine Entwrnung geben und den Weg der Installation nicht ganz nachvollziehen. Daher habe ich meine Schritt so akribisch aufgeschrieben. Es könnte also auch gut sein, dass die Installation des Version 3.1.3 per Menü ohen das Vue-Paket auch schonfunktioniert hätte..... Wer weiß?!

Auf jeden Fall vielen Dank für Deine Hilfe!!!!!!

Wegen mir kann das hier dann geschlossen werden! Mache ich das selber?

Sineos commented 3 years ago

Dann sind Deine Erfahrungen so ähnlich wie meine, wenn ich es richtig verstanden habe:

  1. Erster versuch über Konsole --> geht nicht
  2. vue@"2." bootstrap-vue@"2." installiert (oder als erstes installiert)
  3. Nochmal über die Redmatic-UI drüber gebügelt --> Geht auf magische Weise

Wegen mir kann das hier dann geschlossen werden! Mache ich das selber?

Ja, bitte