xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

how to read the system information by using the node cli tool?

how to read the system information by using the node cli tool?

node cli & get system info

demos

$ nest info

$ taro info

$ flutter doctor

https://docs.nestjs.com/cli/overview#command-overview

https://taro-docs.jd.com/taro/docs/guide/#环境准备

https://flutter.dev/docs/get-started/install/macos#run-flutter-doctor

nest info

# global
$ nest info

 _   _             _      ___  _____  _____  _     _____
| \ | |           | |    |_  |/  ___|/  __ \| |   |_   _|
|  \| |  ___  ___ | |_     | |\ `--. | /  \/| |     | |
| . ` | / _ \/ __|| __|    | | `--. \| |    | |     | |
| |\  ||  __/\__ \| |_ /\__/ //\__/ /| \__/\| |_____| |_
\_| \_/ \___||___/ \__|\____/ \____/  \____/\_____/\___/


[System Information]
OS Version     : macOS Catalina
NodeJS Version : v12.18.0
YARN Version    : 1.22.4 

[Nest CLI]
Nest CLI Version : 7.5.1 

[Nest Platform Information]
😼  cannot read your project package.json file, are you inside your project directory?

# local project 
$ nest info

 _   _             _      ___  _____  _____  _     _____
| \ | |           | |    |_  |/  ___|/  __ \| |   |_   _|
|  \| |  ___  ___ | |_     | |\ `--. | /  \/| |     | |
| . ` | / _ \/ __|| __|    | | `--. \| |    | |     | |
| |\  ||  __/\__ \| |_ /\__/ //\__/ /| \__/\| |_____| |_
\_| \_/ \___||___/ \__|\____/ \____/  \____/\_____/\___/


[System Information]
OS Version     : macOS Catalina
NodeJS Version : v12.18.0
YARN Version    : 1.22.4 

[Nest CLI]
Nest CLI Version : 7.5.1 

[Nest Platform Information]
platform-express version : 7.0.0
common version           : 7.0.0
core version             : 7.0.0

taro info

# global
$ taro info
👽 Taro v2.2.3

找不到项目配置文件config/index.js,请确定当前目录是 Taro 项目根目录!

# local project 
$ taro info
👽 Taro v2.2.3

  Taro CLI 2.2.3 environment info:
    System:
      OS: macOS 10.15.6
      Shell: 5.7.1 - /bin/zsh
    Binaries:
      Node: 12.18.0 - ~/.nvm/versions/node/v12.18.0/bin/node
      Yarn: 1.22.4 - ~/.yarn/bin/yarn
      npm: 6.14.4 - ~/.nvm/versions/node/v12.18.0/bin/npm
    npmPackages:
      @tarojs/components: 2.2.3 => 2.2.3 
      @tarojs/components-qa: 2.2.3 => 2.2.3 
      @tarojs/mini-runner: 2.2.3 => 2.2.3 
      @tarojs/redux: 2.2.3 => 2.2.3 
      @tarojs/redux-h5: 2.2.3 => 2.2.3 
      @tarojs/router: 2.2.3 => 2.2.3 
      @tarojs/taro: 2.2.3 => 2.2.3 
      @tarojs/taro-alipay: 2.2.3 => 2.2.3 
      @tarojs/taro-h5: 2.2.3 => 2.2.3 
      @tarojs/taro-qq: 2.2.3 => 2.2.3 
      @tarojs/taro-quickapp: 2.2.3 => 2.2.3 
      @tarojs/taro-swan: 2.2.3 => 2.2.3 
      @tarojs/taro-tt: 2.2.3 => 2.2.3 
      @tarojs/taro-weapp: 2.2.3 => 2.2.3 
      @tarojs/webpack-runner: 2.2.3 => 2.2.3 
      eslint-config-taro: 2.2.3 => 2.2.3 
      eslint-plugin-taro: 2.2.3 => 2.2.3 
      nerv-devtools: ^1.5.5 => 1.5.6 
      nervjs: ^1.5.5 => 1.5.6 
      stylelint-config-taro-rn: 2.2.3 => 2.2.3 
      stylelint-taro-rn: 2.2.3 => 2.2.3 

flutter doctor

# global
$ flutter doctor   
Doctor summary (to see all details, run flutter doctor
-v):
[✓] Flutter (Channel stable, v1.17.3, on Mac OS X 10.15.6 19G2021,
    locale en-CN)
 
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.49.0)
[!] Connected device
    ! No devices available

! Doctor found issues in 1 category.



$ flutter doctor -v

# local project 
$ flutter doctor


source code

https://github.com/flutter/flutter

https://github.com/NervJS/taro

https://github.com/nestjs/nest

flutter cli

https://github.com/flutter/flutter/wiki/The-flutter-tool

https://github.com/flutter/flutter/tree/master/packages/flutter_tools

https://github.com/marketplace/actions/flutter-cli

taro cli

https://github.com/NervJS/taro/tree/next/packages/taro-cli

nest cli

https://github.com/nestjs/nest-cli

bugs

https://github.com/NervJS/taro/issues/5911

refs



©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


posted @ 2020-09-14 11:27  xgqfrms  阅读(359)  评论(4编辑  收藏  举报