When I installed the fastsclick package into the vue-cli dependency today, it reported an error saying
$ npm install fastclick –save
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! network request to https://registry.npm.taobao.org/fastclick failed, reason: getaddrinfo ENOTFOUND registry.npm.taobao.org
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network ‘proxy’ config is set properly. See: ‘npm help config’
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2021-04-15T12_07_17_780Z-debug.log
Eventually switched to a different installation, typing in the command line.
cnpm install fastclick –save
Success
Read More:
- Vue installation @ Vue/cli error: npmerr gyp err
- How to Solve @Vue/cli3.X Using less Error
- How to Solve Vue cli syntax Close Error
- [Solved] Cnpm installation -g@ view/cli Error: error: eperm: operation not allowed…
- When starting Vue project: cannot find module ‘webpack cli/bin/config yargs’ error resolution
- How to Solve Vue cli configuration SCSS global variable error
- [Solved] error C:\Users\HP\Desktop\VueProject\vue_cli\node_modules\node-sass: Command failed.Exit code: 1
- [error] IDE service port disabled. To use CLI Call, please enter y to confirm enabling CLI capabilit
- [Solved] vue3vite Error: Failed to resolve import “@vue/server-renderer from “src\App.vue“. Does the file exist
- [Solved] Vue Route Error: Uncaught TypeError: (0 , vue__WEBPACK_IMPORTED_MODULE_42__.defineComponent) is not a function
- [Solved] Vue3.0 Error: The component has been registered but not used vue/no-unused-components, Close eslint
- [Solved] Vue Error: Uncaught TypeError: Vue.createApp is not a function
- Full screen scrolling by Vue + Vue awesomeswiper
- Vue warn]: vue3 element Component emit Pass Event Error
- 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“
- How to Solve NPM installation -g @view/client Error
- [Solved] Vue Project Error: error ‘v-model‘ directives require no argument vue/valid-v-model