Questions are as follows:
solution:
Open vue.config.js and add lintOnSave: false
The added vue.config.js is as follows:
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true,
lintOnSave: false
})
Then npm run serve restarts the project