Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

js-controller exception for translated instance objects #89

Closed
2 tasks done
BlackScript opened this issue Nov 15, 2021 · 5 comments
Closed
2 tasks done

js-controller exception for translated instance objects #89

BlackScript opened this issue Nov 15, 2021 · 5 comments

Comments

@BlackScript
Copy link

The problem

Instanz kann nicht hinzugefügt werden

Version of ioBroker js-controller

12.22.6

Version of Adapter

1.3.5

Operating system running ioBroker

docker

Checklist of files to include below

  • iobroker.current.log (Please share the logs in debug mode)
  • Contents of the JavaScript browser console (always include in cases of issues with the user interface)

Additional information & file uploads

$ iobroker add trashschedule auto --host iobroker

Adapter "system.adapter.vis.0" restarted.

host.iobroker create instance trashschedule

/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:1005 Object.keys(adapterConf.instanceObjects[i].common.name).forEach(lang => adapterConf.instanceObjects[i].common.name[lang] = adapterConf.instanceObjects[i].common.name.replace('%INSTANCE%', instance)); ^TypeError: adapterConf.instanceObjects[i].common.name.replace is not a function at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:1005:211 at Array.forEach () at Immediate. (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:1005:101) at processImmediate (internal/timers.js:463:21)

ERROR: Process exited with code 1

@klein0r
Copy link
Owner

klein0r commented Nov 15, 2021

Welche js-controller Version läuft denn?

@BlackScript
Copy link
Author

ist das nicht die angegebene node.js version ? v12.22.6

@klein0r
Copy link
Owner

klein0r commented Nov 15, 2021

Nein, das ist die nodejs-Version.
Ich möchte die Version vom Controller wissen, also dem Kern-Prozess von ioBroker. Findest Du z.B. unter "Hosts" im Admin Adapter.

@BlackScript
Copy link
Author

3.3.18

@klein0r
Copy link
Owner

klein0r commented Nov 21, 2021

Ist mit js-controller 3.3.19 gefixt

@klein0r klein0r closed this as completed Nov 21, 2021
@klein0r klein0r changed the title Bug report js-controller exception for translated instance objects Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants