报错:
无法找到模块“element-plus/es/locale/index.mjs”的声明文件。“E:/codeAll/work/test1/test2/HealinLikeMe-ui/node_modules/.pnpm/element-plus@2.7.3_vue@3.4.27_typescript@5.4.5_/node_modules/element-plus/es/locale/index.mjs”隐式拥有 "any" 类型。
There are types at xxxxxx/node_modules/element-plus/es/locale/index.d.ts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'.
解决:
将报错部分的“index.mjs”的后缀.mjs删除
变成如下部分,就没有报错了