Al intentar instalar el paquete axios
en Vue js
usando npm install --save axios vue-axios
obtengo el siguiente error:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @vue/[email protected].
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! A complete log of this run can be found in:
Estoy usando Vue2, con vue-router
y vuex
.
Contenido del package.json
:
{
"name": "front",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
"dependencies": {
"bootstrap": "^5.1.3",
"bootstrap-vue": "^2.21.2",
"core-js": "^3.6.5",
"vue": "^2.6.14",
"vue-router": "^3.2.0",
"vuex": "^3.4.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.3.0",
"@vue/cli-plugin-eslint": "^3.1.1",
"@vue/cli-plugin-router": "3.12.1",
"@vue/cli-plugin-vuex": "~4.5.0",
"@vue/cli-service": "^3.12.1",
"babel-eslint": "^10.1.0",
"eslint": "^8.4.1",
"eslint-plugin-vue": "^6.2.2",
"lint-staged": "^12.1.2",
"vue-template-compiler": "^2.6.11"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,vue}": [
"vue-cli-service lint",
"git add"
]
}
}
Llevo días intentando resolver este problema pero no lo he conseguido, alguna idea?