どなたかお教えください。
googolehome、ラズパイとRMmini3で家電操作まではできましたが、homeにしゃべらせるところで躓いています。
ページの通りgoogle-home-notifierをインストールしてbin/say.jsを打ってみましたが、
line2から最後まで
bin/say.js: line 2: const: command not found
bin/say.js: line 3: const: command not found
bin/say.js: line 3: : command not found
bin/say.js: line 4: const: command not found
bin/say.js: line 4: ja: command not found
bin/say.js: line 5: const: command not found
bin/say.js: line 5: : command not found
bin/say.js: line 6: syntax error near unexpected token `ip,'
bin/say.js: line 6: ` home.ip(ip, lang);'
となります。
nodeのパスは通っていますし、別フォルダにgoogole-home-notifierを単独でインストールしてみると問題なく発言できます。
何が問題なのでしょうか?
どうにかお助けください。