Module not found: Error: Can't resolve './src' in 'C:\Users\86184\Desktop\vue基础\day2\code\src'
时间: 2023-09-24 17:04:07 浏览: 193
This error message usually occurs when the module or file that is being imported cannot be found in the specified path. In this case, the error is occurring in a Vue project, where the './src' path is not being resolved.
To fix this error, you should check if the path to the file or module you are trying to import is correct. Make sure that the file or module exists in the specified path and that the path is correct.
You can also try running the command 'npm install' to make sure that all the dependencies are installed correctly. This can sometimes resolve errors related to missing modules or files.
If the issue persists, you can try restarting the development server or even creating a new project from scratch.
阅读全文