At home on weekends, I want to install Vue on the local computer, but I always report the error of ‘gyp’. All kinds of Baidu attempts always fail until I see an explanation: installing @ Vue/cli reports the error npmerr gyp err
(intrusion and deletion)
Sort out:
1. First delete three Vue related files in the local folder directory C:// user/xxx/appdata/roaming/NPM
2. Switch the NPM image source of Taobao back to the initial image source of NPM:
https://registry.npmjs.org/
npm config set registry https://registry.npmjs.org/
Then run NPM install - G @ Vue/cli
and wait.
Read More:
- [Solved] Vue cli installation Fastclick Error
- [Solved] gyp ERR! stack Error: Could not find any Python installation to use
- [Solved] Vue3 npm ERR code ERR_SSL_DECRYPTION_FAILED_OR_BAD_RECORD_MAC
- [Solved] vue3vite Error: Failed to resolve import “@vue/server-renderer from “src\App.vue“. Does the file exist
- How to Solve @Vue/cli3.X Using less Error
- How to Solve Vue cli syntax Close Error
- How to Solve Vue cli configuration SCSS global variable error
- [Solved] Vue2 Cross-domain Error: AxiosError net::ERR_FAILED, Network Error, ERR_NETWORK
- When starting Vue project: cannot find module ‘webpack cli/bin/config yargs’ error resolution
- [Solved] error C:\Users\HP\Desktop\VueProject\vue_cli\node_modules\node-sass: Command failed.Exit code: 1
- [Solved] Vue Error: Uncaught TypeError: Vue.createApp is not a function
- Vue warn]: vue3 element Component emit Pass Event Error
- [Solved] Vue3.0 Error: The component has been registered but not used vue/no-unused-components, Close eslint
- [Solved] Vue Route Error: Uncaught TypeError: (0 , vue__WEBPACK_IMPORTED_MODULE_42__.defineComponent) is not a function
- Full screen scrolling by Vue + Vue awesomeswiper
- Vue2.0: How to Use vue3 api to encapsulate Axios
- [Solved] VUE D:\project\vueProject\vue-02\src\components\hello.vue 5:5 error Parsing error: x-invalid-end-tag
- [Solved] Vue3 Error: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. P
- VUE Error: Vue Error in nextTick: “RangeError: Maximum call stack size exceeded“
- [Solved] Package Install Error: npm ERR code ERR_SOCKET_TIMEOUT npm ERR