I have a project created in Vue.js, this project is actually managed by tfs with git.
First of all, I want to change the project name so I do steps:
- Create a new folder (directory) with my new project name.
- I copy all the folders and files from my old project to my new directory.
- I open
package.json
file and replace the name property with my new project name. - I opened the project in Visual Code and run in terminal command:
yarn
- Once it finishes I run the command:
yarn run serve
But I got an error :
Failed to compile with 1 errors
Module build failed (from ./node_modules/@vue/cli-plugin-eslint/node_modules/eslint-loader/index.js):
Error: No ESLint configuration found. at Config.getLocalConfigHierarchy (/Users/MyUser/projectname/node_modules/eslint/lib/config.j s:268:39)
So I have some questions:
What should I do to solve this error? I'm doing the wrong way?
How can I remove existing git relation of tfs to specify a new one?