ERROR Failed to compile with 1 error 09:43:54
error in ./node_modules/@intlify/core-base/dist/core-base.cjs
Module parse failed: Unexpected token (1356:23)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| if (shared.isString(source)) ;
| else {
> if (source.loc?.source) {
| return source.loc.source;
| }
直接执行
npm install core-js --save-dev