0033名無し に一致する情報は見つかりませんでした。
2018/03/14(水) 14:57:16.79ID:GhwP4Ka4今回、はじめて691氏のシステム(Raspberry Pi使用)で設定を進めているのですが
「Google Homeの喋らせ方」で行き詰まっています。
bin/say.js "こんにちは”で下記エラーとなります。
pi@raspberrypi:~/homebot $ bin/say.js "こんにちは"
/home/pi/homebot/node_modules/google-home-notifier/google-home-notifier.js:8
var device = function(name, lang = 'en') {
^
SyntaxError: Unexpected token =
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/home/pi/homebot/bin/say.js:2:17)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
google-home-notifier.jsでエラーとなっているようですが、触る必要のないファイルと認識してますが
ラズパイへのインストール前に誤って、
>(以下は、MacやLinuxなどでの手順)
でインストールを進めた事と関係ありますでしょうか?操作に不慣れなもので、エラーのまま放置してます。
以上、よろしくお願いします。