GithubHelp home page GithubHelp logo

Comments (19)

Apollon77 avatar Apollon77 commented on June 28, 2024 1

@ansgarschulte The better command in iobroker environment would be "iob install https://github.com/Jey-Cee/ioBroker.heytech" or even better to use admin and install from npm when version is already there.

IF someone uses the direct npm command to update an adapter you MUST also run "iob upload heytech" afterwards, else meta data are out of sync which can produce different issues

from iobroker.heytech.

guidau avatar guidau commented on June 28, 2024

Hi all,

I wish you a Merry Christmas and a relaxing holiday!

After updating the Node.js version from 12 to 14, my HeyTech adapter is not working anymore because the required Node.js version >=8 <13, actual version v14.18.2 does not match.

host.iobroker 2021-12-25 17:36:19.922 warn startInstance heytech.0: instance disabled because of Node.js version mismatch host.iobroker 2021-12-25 17:36:19.920 info "system.adapter.heytech.0" disabled host.iobroker 2021-12-25 17:36:19.904 warn startInstance heytech.0: required Node.js version >=8 <13, actual version v14.18.2 host.iobroker 2021-12-25 17:36:19.825 info "system.adapter.heytech.0" enabled

Thank you very much for your support!
Cheers
Guidau

from iobroker.heytech.

ansgarschulte avatar ansgarschulte commented on June 28, 2024

Hi
Merry Christmas
Sorry. But i already tried it too and I have problems to get it to work. The problem is one dependency for telnet connections.
I think I have to reimplement some parts of the plugin or try to fix the other library. So a lot of work....

from iobroker.heytech.

ansgarschulte avatar ansgarschulte commented on June 28, 2024

@guidau Happy New Year.
and FYI: I found the bug. Will publish an update soon.

from iobroker.heytech.

ansgarschulte avatar ansgarschulte commented on June 28, 2024

Intermediate Fix:
Install via Github Url:
https://github.com/Jey-Cee/ioBroker.heytech

from iobroker.heytech.

guidau avatar guidau commented on June 28, 2024

@ansgarschulte Happy New Year
Many thanks for your support. I'm on holidays and I'll be back next weekend.
Cheers
Guido

from iobroker.heytech.

guidau avatar guidau commented on June 28, 2024

@ansgarschulte Today I installed the update via beta repro, Github URL over ioBroker with no success.
It seems to be that the installation procedure still looking for the node.js version >=8 <13.
Do you habe any advice ?

`Befehl ausführen
Process exited with code 0
weniger
mehr

$ iobroker url https://github.com/Jey-Cee/ioBroker.heytech --host iobroker --debug

install Jey-Cee/ioBroker.heytech#5368fe736c8404e009376bdd4750279306a02966

NPM version: 6.14.15

npm install Jey-Cee/ioBroker.heytech#5368fe736c8404e009376bdd4750279306a02966 --prefix "/opt/iobroker" (System call)

npm ERR! code ENOTSUP

npm ERR! notsup Unsupported engine for [email protected]: wanted: {"node":">=8 <13"} (current: {"node":"14.18.2","npm":"6.14.15"})

npm ERR! notsup Not compatible with your version of node/npm: [email protected] ERR! notsup Not compatible with your version of node/npm: [email protected] ERR! notsup Required: {"node":">=8 <13"}npm ERR! notsup Actual: {"npm":"6.14.15","node":"14.18.2"}

npm ERR! A complete log of this run can be found in:

npm ERR! /opt/iobroker/.npm/_logs/2022-01-09T11_02_19_215Z-debug.log

upload [4] heytech.admin /opt/iobroker/node_modules/iobroker.heytech/admin/words.js words.js application/javascript

upload [3] heytech.admin /opt/iobroker/node_modules/iobroker.heytech/admin/style.css style.css text/css

upload [2] heytech.admin /opt/iobroker/node_modules/iobroker.heytech/admin/index_m.html index_m.html text/html

upload [1] heytech.admin /opt/iobroker/node_modules/iobroker.heytech/admin/heytech.png heytech.png image/png

upload [0] heytech.admin /opt/iobroker/node_modules/iobroker.heytech/admin/admin.d.ts admin.d.ts video/mp2t

Update "system.adapter.heytech.0"

Process exited with code 0`

from iobroker.heytech.

ansgarschulte avatar ansgarschulte commented on June 28, 2024

@guidau I had the same problem... I managed it with a manuel "npm install https://github.com/Jey-Cee/ioBroker.heytech" via console.
But I made now a PR for Stable Repo: ioBroker/ioBroker.repositories#1588

from iobroker.heytech.

guidau avatar guidau commented on June 28, 2024

@ansgarschulte Do you know when the PR will be transferred to the stable repo ? Does this happen overnight ?

from iobroker.heytech.

ansgarschulte avatar ansgarschulte commented on June 28, 2024

@guidau It has been merged now. Please try again. thx @Apollon77

from iobroker.heytech.

guidau avatar guidau commented on June 28, 2024

@ansgarschulte Even with the new stable repo I unfortunately still get the same error message
@Apollon77 I entered your suggested command "iob install https://github.com/Jey-Cee/ioBroker.heytech" on the shell, here the syntax seems to be wrong. Do I have to uninstall the installed adapter before and then reinstall again via the adapter command.

from iobroker.heytech.

ansgarschulte avatar ansgarschulte commented on June 28, 2024

maybe that uninstall helps....

from iobroker.heytech.

guidau avatar guidau commented on June 28, 2024

I also have the same problem when I want to uninstall the adapter....

`$ iobroker del heytech

Delete adapter "heytech"

host.iobroker Counted 1 instances of heytech

host.iobroker Counted 1 meta of heytech

host.iobroker Counted 1 adapter for heytech

host.iobroker Counted 21 channels of heytech

host.iobroker Counted 100 states of heytech

host.iobroker Counted 14 states of system.adapter.heytech

host.iobroker Counted 48 states (heytech.*) from states

host.iobroker Counted 14 states (system.adapter.heytech.*) from states

host.iobroker Counted 3 objects of heytech

host.iobroker file heytech.admin deleted

host.iobroker object heytech deleted

host.iobroker object heytech.admin deleted

host.iobroker Deleting 141 object(s).

host.iobroker Deleting 62 state(s).

npm uninstall iobroker.heytech --loglevel error --prefix "/opt/iobroker" (System call)

npm ERR! code ENOTSUP

npm ERR! notsup Unsupported engine for [email protected]: wanted: {"node":">=8 <13"} (current: {"node":"14.18.2","npm":"6.14.15"})

npm ERR! notsup Not compatible with your version of node/npm: [email protected] ERR! notsup Not compatible with your version of node/npm: [email protected] ERR! notsup Required: {"node":">=8 <13"}npm ERR! notsup Actual: {"npm":"6.14.15","node":"14.18.2"}

npm ERR! A complete log of this run can be found in:npm ERR! /opt/iobroker/.npm/_logs/2022-01-09T19_35_29_961Z-debug.log

Error deleting adapter heytech from disk: Error: host.iobroker: Cannot uninstall iobroker.heytech: 1

You might have to delete it yourself!

Process exited with code 0`

from iobroker.heytech.

ansgarschulte avatar ansgarschulte commented on June 28, 2024

try: npm uninstall iobroker.heytech

from iobroker.heytech.

guidau avatar guidau commented on June 28, 2024

same result with "npm uninstall iobroker.heytech":
`root@iobroker:/opt/iobroker# npm uninstall iobroker.heytech
npm ERR! code ENOTSUP
npm ERR! notsup Unsupported engine for [email protected]: wanted: {"node":">=8 <13"} (current: {"node":"14.18.2","npm":"6.14.15"})
npm ERR! notsup Not compatible with your version of node/npm: [email protected]
npm ERR! notsup Not compatible with your version of node/npm: [email protected]
npm ERR! notsup Required: {"node":">=8 <13"}
npm ERR! notsup Actual: {"npm":"6.14.15","node":"14.18.2"}

npm ERR! A complete log of this run can be found in:
npm ERR! /opt/iobroker/.npm/_logs/2022-01-09T22_00_45_899Z-debug.log`

from iobroker.heytech.

ansgarschulte avatar ansgarschulte commented on June 28, 2024

rm -fR node_modules/iobroker.heytech/

from iobroker.heytech.

guidau avatar guidau commented on June 28, 2024

There is a path node_modules but no subfolder iobroker.heytech, also in my life system, where I have not yet changed anything on the Heytech adapter !

Does it make sense to stop the discussion here on Github and maybe continue it on the ioBroker forum ? I'll try to look at the options of the Nodes.js commands this afternoon to see if I can force the uninstall here.

from iobroker.heytech.

guidau avatar guidau commented on June 28, 2024

@ansgarschulte Thank you very much for your help.
I managed it now, I temporarily set in the local NPM configuration file (.npmrc) the variable "engine-strict" (NPM version check) from true to false and then uninstalled the Heytech adapter. After that I was able to install the new 1.06 version without problems with the NPM version check enabled.

This link helped me:
Prevent npm install for not supported Node.js versions

from iobroker.heytech.

ansgarschulte avatar ansgarschulte commented on June 28, 2024

glad to here 😀

from iobroker.heytech.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.