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

ERR_INVALID_ARG_TYPE: The "file" argumetn must be of type string. Received null. #61

Open
george-dilthey opened this issue Oct 14, 2022 · 0 comments

Comments

@george-dilthey
Copy link

I installed according to instructions and am getting the below error. Any ideas? Running on Raspberry Pi 4, Debian Bullseye.

TypeError [ERR_INVALID_ARG_TYPE]: The "file" argument must be of type string. Received null
    at validateString (internal/validators.js:120:11)
    at normalizeSpawnArguments (child_process.js:411:3)
    at spawn (child_process.js:547:16)
    at sudo (/opt/magic_mirror/modules/MMM-NetworkScanner/node_modules/sudo/lib/sudo.js:30:17)
    at Class.scanNetworkMAC (/opt/magic_mirror/modules/MMM-NetworkScanner/node_helper.js:43:19)
    at Class.socketNotificationReceived (/opt/magic_mirror/modules/MMM-NetworkScanner/node_helper.js:30:18)
    at Socket.<anonymous> (/opt/magic_mirror/js/node_helper.js:109:11)
    at Socket.emit (events.js:314:20)
    at Socket.emitUntyped (/opt/magic_mirror/node_modules/socket.io/dist/typed-events.js:69:22)
    at /opt/magic_mirror/node_modules/socket.io/dist/socket.js:428:39 {
  code: 'ERR_INVALID_ARG_TYPE'
}
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

1 participant