Do you know how to fix this error?. I have tried different things like deleting my package.json and creating a new one and a series of npm commands but nothing seems to work. I would like to attach a copy of my current package.json, main.js and directory:
package.json
{
"name": "internships4u",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"start": "webpack-dev-server --open --config webpack.config.js"
},
"dependencies": {
"core-js": "^3.8.3",
"firebase": "^10.6.0",
"vue": "^3.2.13",
"vue-router": "^4.0.3"
},
"devDependencies": {
"@babel/core": "^7.23.6",
"@babel/eslint-parser": "^7.23.3",
"@vue/cli-plugin-babel": "~5.0.0",
"@vue/cli-plugin-eslint": "~5.0.0",
"@vue/cli-plugin-router": "~5.0.0",
"@vue/cli-service": "~5.0.0",
"babel-eslint": "^10.1.0",
"eslint": "^7.32.0",
"eslint-plugin-vue": "^8.7.1",
"sass": "^1.32.7",
"sass-loader": "^12.0.0",
"vue-loader": "^15.11.1",
"vue-template-compiler": "^2.7.15"
}
}
main.json
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
createApp(App).use(router).mount('#app')
[enter image description here](https://i.stack.imgur.com/Ap4a2.png)
I have tried the following npm commands among others:
npm install
npm install -g npm@latest
npm cache clean -f
npm install --save-dev eslint babel-eslint @babel/core @babel/eslint-parser eslint-plugin-vue