aholstenson / miio

Control Mi Home devices, such as Mi Robot Vacuums, Mi Air Purifiers, Mi Smart Home Gateway (Aqara) and more
MIT License
1.87k stars 354 forks source link

-Bash: miio: command not found #317

Open HF1643 opened 3 years ago

HF1643 commented 3 years ago

The system is CentOS 7, [root@localhost miio]# sudo miio discover sudo: miio:找不到命令 [root@localhost miio]# miio --version -bash: miio: 未找到命令 [root@localhost miio]# miio discover -bash: miio: 未找到命令

HF1643 commented 3 years ago

[root@localhost miio]# npm install miio npm WARN saveError ENOENT: no such file or directory, open '/root/package.json' npm WARN enoent ENOENT: no such file or directory, open '/root/package.json' npm WARN root No description npm WARN root No repository field. npm WARN root No README data npm WARN root No license field.