Skip to content
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

Error: ENOENT: no such file or directory #9

Open
loop2 opened this issue Nov 25, 2021 · 2 comments
Open

Error: ENOENT: no such file or directory #9

loop2 opened this issue Nov 25, 2021 · 2 comments

Comments

@loop2
Copy link

loop2 commented Nov 25, 2021

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
Copy link
Owner

loftux commented Nov 25, 2021

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
Copy link
Author

loop2 commented Nov 25, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants