Home » vue » nodemodule not found file or directory

nodemodule not found file or directory

Posted by: admin November 26, 2021 Leave a comment

Questions:

When I remove some extra files in my project i found an error. It create a much of errors
in my project

Following picture is showing as

I did’t have any idea to solve it help me to solve the issue.

Answers:

You removed the file "CustomerList.vue" but you are importing it from another place. Just remove the import.

###

  1. Delete node-modules folder.

  2. run command npm cache clean --force.

  3. run command npm install.

  4. Finally install the package again with npm install your-package-name.