Error message screenshot:
Cause of error: The version of the third-party component conflicts. Generally, the download of the axios is the latest version by default 1.6.2. We only need to change the version of the axios to 1.5.0.
Solution:
1- Open project folder ‘node_modules’
2- Delete folder “axios” in
3- In “package.json,” change the version information of axios to 1.5.0
4- Enter the command at the terminal: Npm install axios@1.5.0 –save
5Enter the run command “npm run dev” to run normally
This document is transferred from https://blog.csdn.net/AGLQYP/article/details/136199938,If there is any infringement,Please contact to delete。