loftux / homebridge-teslafi

Homebridge Teslafi plugin
11 stars 2 forks source link

Error: ENOENT: no such file or directory #9

Open loop2 opened 2 years ago

loop2 commented 2 years ago

Hi, I would test the dashboard but the homebridge loops continusly with this error:

[11/25/2021, 3:18:55 PM] Error: ENOENT: no such file or directory, open '/homebridge/Ale.Tesla_dashboard.png' -- ASYNC -- at Page. (/usr/local/lib/node_modules/homebridge-teslafi/node_modules/puppeteer/lib/helper.js:82:19) at ElementHandle.screenshot (/usr/local/lib/node_modules/homebridge-teslafi/node_modules/puppeteer/lib/JSHandle.js:337:44) at processTicksAndRejections (node:internal/process/task_queues:96:5) at makeScreenshot (/usr/local/lib/node_modules/homebridge-teslafi/node_modules/node-html-to-image/src/screenshot.js:33:20) at /usr/local/lib/node_modules/homebridge-teslafi/node_modules/node-html-to-image/src/index.js:28:20 -- ASYNC -- at ElementHandle. (/usr/local/lib/node_modules/homebridge-teslafi/node_modules/puppeteer/lib/helper.js:82:19) at makeScreenshot (/usr/local/lib/node_modules/homebridge-teslafi/node_modules/node-html-to-image/src/screenshot.js:33:34) at processTicksAndRejections (node:internal/process/task_queues:96:5) at /usr/local/lib/node_modules/homebridge-teslafi/node_modules/node-html-to-image/src/index.js:28:20

The /homebrdige directory permission are correct... Where is the issue? Thanks a lot

loftux commented 2 years ago

Did you install as per https://github.com/loftux/homebridge-teslafi/blob/master/docs/dashboard.md? It looks like you either didn't get chromium installed, or that the path is wrong? Is the name "Ale.Tesla"? I don't think the dot in the name should confuse, but you never know.

loop2 commented 2 years ago

Yes! I have install "node-html-to-image" in macos manually. Node is at last update. I also add the path /homebridge/. Ale.Tesla is the "name" configured in the plugin, i also change the name but with the same issue