Error reporting
There are no online tutorials about this problem that can solve it. If your error is similar to this article, this article can solve it 100% perfectly.
In the vue2.js project, the following error message appears when executing npm run serve:
Syntax Error: TypeError: Cannot read properties of undefined (reading ‘styles’)