You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 17, 2020. It is now read-only.
While my first test for a new adapter was successful, I received the following errors in the log when creating a new adapter. In the adapter settings, tab "New", I have completed all the fields and then hit "Create". Then the "Wait" popup appears and the I get the following in the log. I have repeated it, and it happened again.
My ioBroker system for development: Win 10 Pro
Node.js: v10.15.0
NPM: 6.4.1
2019-01-05 01:03:45.901 - �[32minfo�[39m: adapter-studio.0 {"command":"send","message":{"command":"createAdapter","name":"ATest1","author":"Mic-M","email":"[email protected]","keywords":"test,script","license":"MIT","type":"general","mode":"daemon","cron":"","logLevel":"info","dependencies":"","enabled":false,"widgets":false,"webpage":false,"tab":false,"adminv2":false,"messagebox":false,"depAdapters":""},"from":"system.adapter.admin.0","callback":{"message":{"command":"createAdapter","name":"ATest1","author":"Mic-M","email":"[email protected]","keywords":"test,script","license":"MIT","type":"general","mode":"daemon","cron":"","logLevel":"info","dependencies":"","enabled":false,"widgets":false,"webpage":false,"tab":false,"adminv2":false,"messagebox":false,"depAdapters":""},"id":187,"ack":false,"time":1546646625900},"_id":37799789}
2019-01-05 01:03:45.939 - �[31merror�[39m: adapter-studio.0 uncaught exception: Unexpected token u in JSON at position 0
2019-01-05 01:03:45.939 - �[31merror�[39m: adapter-studio.0 SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse (<anonymous>)
at ReadFileContext.fs.readFile [as callback] (C:\iobroker\node_modules\iobroker.adapter-studio\main.js:263:29)
at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:238:13)
2019-01-05 01:03:45.939 - �[32minfo�[39m: adapter-studio.0 cleaned everything up...
2019-01-05 01:03:45.941 - �[31merror�[39m: adapter-studio.0 uncaught exception: Unexpected token u in JSON at position 0
2019-01-05 01:03:45.941 - �[31merror�[39m: adapter-studio.0 SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse (<anonymous>)
at ReadFileContext.fs.readFile [as callback] (C:\iobroker\node_modules\iobroker.adapter-studio\main.js:318:29)
at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:238:13)
2019-01-05 01:03:45.941 - �[32minfo�[39m: adapter-studio.0 cleaned everything up...
2019-01-05 01:03:45.951 - �[31merror�[39m: Caught by controller[0]: SyntaxError: Unexpected token u in JSON at position 0
2019-01-05 01:03:45.951 - �[31merror�[39m: Caught by controller[0]: at JSON.parse (<anonymous>)
2019-01-05 01:03:45.951 - �[31merror�[39m: Caught by controller[0]: at ReadFileContext.fs.readFile [as callback] (C:\iobroker\node_modules\iobroker.adapter-studio\main.js:263:29)
2019-01-05 01:03:45.951 - �[31merror�[39m: Caught by controller[0]: at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:238:13)
2019-01-05 01:03:45.951 - �[31merror�[39m: Caught by controller[1]: SyntaxError: Unexpected token u in JSON at position 0
2019-01-05 01:03:45.951 - �[31merror�[39m: Caught by controller[1]: at JSON.parse (<anonymous>)
2019-01-05 01:03:45.951 - �[31merror�[39m: Caught by controller[1]: at ReadFileContext.fs.readFile [as callback] (C:\iobroker\node_modules\iobroker.adapter-studio\main.js:318:29)
2019-01-05 01:03:45.951 - �[31merror�[39m: Caught by controller[1]: at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:238:13)
2019-01-05 01:03:45.951 - �[31merror�[39m: host.WINZ3 instance system.adapter.adapter-studio.0 terminated with code 0 (OK)
2019-01-05 01:03:45.951 - �[32minfo�[39m: host.WINZ3 Restart adapter system.adapter.adapter-studio.0 because enabled
2019-01-05 01:04:15.966 - �[32minfo�[39m: host.WINZ3 instance system.adapter.adapter-studio.0 started with pid 4060
2019-01-05 01:04:17.773 - �[32minfo�[39m: adapter-studio.0 starting. Version 0.7.0 in C:/iobroker/node_modules/iobroker.adapter-studio, node: v10.15.0
2019-01-05 01:04:17.775 - �[32minfo�[39m: adapter-studio.0 win32
2019-01-05 01:04:17.775 - �[32minfo�[39m: adapter-studio.0 C:\iobroker\node_modules\iobroker.adapter-studio
The text was updated successfully, but these errors were encountered:
Check if the io-package.json is in correct folder.
EDIT: Could be a permission problem due to the fact that iobroker has now own his own user. But i am not sure if this hits windwos also, for linux this ist fact.
EDIT 2: First try has shown same result as on your side, it turns out git was not installed. But the error is a result of not existing file.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
While my first test for a new adapter was successful, I received the following errors in the log when creating a new adapter. In the adapter settings, tab "New", I have completed all the fields and then hit "Create". Then the "Wait" popup appears and the I get the following in the log. I have repeated it, and it happened again.
My ioBroker system for development: Win 10 Pro
Node.js: v10.15.0
NPM: 6.4.1
The text was updated successfully, but these errors were encountered: