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

-Bash: miio: command not found #317

Open
HF1643 opened this issue Sep 10, 2021 · 1 comment
Open

-Bash: miio: command not found #317

HF1643 opened this issue Sep 10, 2021 · 1 comment

Comments

@HF1643
Copy link

HF1643 commented Sep 10, 2021

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

HF1643 commented Sep 10, 2021

[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.

  • miio@0.15.6
    updated 1 package in 2.242s
    [root@localhost miio]# npm install -g miio
    /usr/local/node/node-v8.11.2-linux-x64/bin/miio -> /usr/local/node/node-v8.11.2-linux-x64/lib/node_modules/miio/cli/index.js
  • miio@0.15.6
    updated 1 package in 5.488s
    [root@localhost miio]# miio discover
    -bash: miio: 未找到命令
    [root@localhost miio]#

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