-
Notifications
You must be signed in to change notification settings - Fork 27
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
Telefram stratet nicht #159
Comments
Hi, irgendwas scheint mit deiner config.json nicht zu passen. kannst du mal den Inhalt der Datei |
"botToken": "1xxxxxxx:Axxxxxxxxxxxxxxxxxxs", |
ok, wenn das genau der Inhalt der Datei ist, dann fehlt ein |
Vielen Dank, es funktioniert jetzt. Hatte die config.json vorher schon mal überprüft, aber die Klammer irgenwie übersehen. |
Kennst du das Problem, wenn ich ein bestehendes Video vom IPhone senden will, bekomme ich die Meldung "Dieses Dokument hat ein unbekanntes Dateiformat". Mache ich sozusagen ein Livevideo funktioniert das. |
Hallo, ich bin über den Teleframe gestolpert und das ist genau das was ich suche für meine Schwiegereltern.
Jetzt habe ich versucht TeleFrame zu installieren, die Installation ist durch gelaufen, aber es kommt kein TeleFrame zur Anzeige.
Hier Konfiguration usw.:
Raspberry 4 4GB
OS: Rasbian
Node -v: v14.15.4
nodejs -v: v10.21.0
npm -v: 6.1.4.10
Config.json:
"botToken": "13xxxxxxxx:Axxxxxxs",
"whitelistChats": [],
Beim Start von npm Start erhalte ich folgende Fehlermeldung:
`
App threw an error during load
SyntaxError: /home/pi/TeleFrame/config/config.json: Unexpected token : in JSON at position 12
at JSON.parse ()
at Object.Module._extensions..json (internal/modules/cjs/loader.js:906:27)
at Module.load (internal/modules/cjs/loader.js:735:32)
at Module._load (internal/modules/cjs/loader.js:648:12)
at Module._load (electron/js2c/asar.js:717:26)
at Function.Module._load (electron/js2c/asar.js:717:26)
at Module.require (internal/modules/cjs/loader.js:775:19)
at require (internal/modules/cjs/helpers.js:68:18)
at Object. (/home/pi/TeleFrame/js/configuration.js:92:15)
at Module._compile (internal/modules/cjs/loader.js:880:30)
A JavaScript error occurred in the main process
Uncaught Exception:
SyntaxError: /home/pi/TeleFrame/config/config.json: Unexpected token : in JSON at position 12
at JSON.parse ()
at Object.Module._extensions..json (internal/modules/cjs/loader.js:906:27)
at Module.load (internal/modules/cjs/loader.js:735:32)
at Module._load (internal/modules/cjs/loader.js:648:12)
at Module._load (electron/js2c/asar.js:717:26)
at Function.Module._load (electron/js2c/asar.js:717:26)
at Module.require (internal/modules/cjs/loader.js:775:19)
at require (internal/modules/cjs/helpers.js:68:18)
at Object. (/home/pi/TeleFrame/js/configuration.js:92:15)
at Module._compile (internal/modules/cjs/loader.js:880:30)
`
Browseraufruf funktioniert.
https://api.telegram.org/bot113xxxxxxxx:Axxxxxxs/sendMessage?chat_id=1xxxxxxxxx6&text=raspi
Wo liegt mein Denkfehler oder was habe ich falsch gemacht.
Vielen Dank für eure Hilfe
The text was updated successfully, but these errors were encountered: