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

Doesnt work anymore #2

Open
insanemal opened this issue Jun 21, 2020 · 2 comments
Open

Doesnt work anymore #2

insanemal opened this issue Jun 21, 2020 · 2 comments

Comments

@insanemal
Copy link

Possibly changes in newer npm or docker but

(node:26) UnhandledPromiseRejectionWarning: Error: disk name invalid and / not found
    at /opt/monitor-api/node_modules/node-os-utils/lib/drive.js:62:17
    at <anonymous>
(node:26) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:26) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

and I have NFI about JS so yeah.. I can run df -kP (which is what the node.js code seems to be doing) and find both /rootfs and / in the output, but its failing to parse them.

Anyway thanks for this, when it was working :D

@emcniece
Copy link

Works fine for me as of today on a fresh Raspberry Pi. Can you provide any more details about your setup?

@insanemal
Copy link
Author

Hi yeah sorry, I was running ArchArm on my Pi.

It uses much newer versions of things than RPiOS

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