# Clear buffer NPM cache clean — force
#Reinstall NPM/cnpm install
Another online article, roughly said three solutions
1. Reinstall the
Folder node_ Modules are deleted and reinstalled by executing NPM/cnpm install
2. Specify path
./node_ modules/.bin/vue-cli-service build
3. Global installation
npm install @vue/cli-service -g
4. Environment variable node_ ENV=production
Try a few more times. You can refer to it for other reasons https://stackoverflow.com/questions/51172064/command-not-found-with-vue-cli
Read More:
- Mac error: SH: Vue cli service: command not found
- Mac Pyaudio Installation fatal error: ‘portaudio.h‘ file not found
- .sh error: ***.sh: 2: set: Illegal option – Solution
- [MAC] How to Solve zsh Error: command not found: umi
- [Solved] Mac VS Code fatal error: ‘bits/stdc++.h‘ file not found
- How to Solve hadoop3.x.x sh start-dfs.sh Startup Error
- How to Solve Hexo init error: bash: hexo: command not found
- [Solved] Mac Cmake Complie openmp Error: fatal error: ‘omp.h‘ file not found
- HEXO D Command ERROR Deployer not found: git
- [Solved] Error in porting libzrtp: automake-1.14: command not found
- [Solved] Mac Install mongodb error: NonExistentPath: Data directory /data/db not found.
- [Solved] MAC Compile Error: fatal error: ‘endian.h‘ file not found
- [Solved] kubectl error: sou-bash: _get_comp_words_by_ref: command not found
- [Solved] Latex&VScode Error: I found no bibdata command//command//citation—while reading file*.aux
- Visual Studio Code Error command ‘markdown.extension.onBackspaceKey’ not found
- Mac installation tree command error solution
- [Solved] Mac M1 Brew install Error: Command failed with exit 128:git
- Mac Vscode C++ Customize Header File Error: linker command failed
- The SDK of Android webrtc compiled with Ninja – C out / release command reported an error, and the Android NDK processing method could not be found
- [Solved] Mac M1 Debug Error: could not launch process: can not run under Rosetta