Global installation of UMI
$ tarn global add umi
$ umi -v
[email protected]
When running UMI - V
times Zsh: command not found: UMI
error, the solution is as follows:
1. Get global bin path
$ yarn global bin
/Users/*****/.yarn/bin
2. Run the open command to open. Bash_ Profile file
$ open ~/.bash_profile
3. In. Bash_ Add the following line to the profile file and save it
export PATH="YOUR global bin FLODER:$PATH"
4. Run the following command to make the modification effective
source ~/.bash_profile
5. Run again and solve the problem
$ umi -v
[email protected]
Read More:
- How to Solve Hexo init error: bash: hexo: command not found
- How to Solve org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) Error
- How to Solve VScode 2022 error: msvcp110d.dll not found
- How to Solve Error: java.io.IOException: Resource [classpath:shiro.ini] could not be found.
- How to Solve Gradle Error: Plugin with id ‘jetty’ not found.
- How to Solve golang test Error: # command-line-arguments [command-line-arguments.test]
- How to Solve J-link Error (Two Command Errors & Solution)
- [Solved] kubectl error: sou-bash: _get_comp_words_by_ref: command not found
- Mac Error: sh: vue-cli-service: command not found
- Mac error: SH: Vue cli service: command not found
- Error Report of Yarn Create UMI
- [Solved] Error in porting libzrtp: automake-1.14: command not found
- How to Solve error: command ‘C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\bin\nvcc.exe‘ failed
- HEXO D Command ERROR Deployer not found: git
- Visual Studio Code Error command ‘markdown.extension.onBackspaceKey’ not found
- [Solved] Latex&VScode Error: I found no bibdata command//command//citation—while reading file*.aux
- How to Solve Error: Module did not self-register
- How to Solve Error: “initializer element is not constant”
- How to Solve jQuery error: Uncaught ReferenceError: $ is not defined
- [Solved] Zsh: one of the solutions to parse error near ‘\n’