<template>
<view>sdafasdf</view>
</template>
<script lang="ts" setup>
import * as echarts from 'echarts'
console.log('echarts', echarts)
</script>
<style lang="scss" scoped>
//
</style>
SyntaxError: Identifier 'requestAnimationFrame' has already been declared(env: Windows,mp,1.06.2407092; lib: 3.4.10)
app.js错误:
Error: module 'common/vendor.js' is not defined, require args is './common/vendor.js'
at q (WASubContext.js?t=wechat&s=1720664536511&v=3.4.10:1)
at r (WASubContext.js?t=wechat&s=1720664536511&v=3.4.10:1)
at app.js:7
at WASubContext.js?t=wechat&s=1720664536511&v=3.4.10:1
at p.runWith (WASubContext.js?t=wechat&s=1720664536511&v=3.4.10:1)
at q (WASubContext.js?t=wechat&s=1720664536511&v=3.4.10:1)
at appservice.js:7
at doWhenAllScriptLoaded (getmainpackage.js:2364)
at Object.scriptLoaded (getmainpackage.js:2399)
at Object.<anonymous> (getmainpackage.js:2457)(env: Windows,mp,1.06.2407092; lib: 3.4.10)
Error: module 'common/vendor.js' is not defined, require args is './common/vendor.js'
at q (WASubContext.js?t=wechat&s=1720664536511&v=3.4.10:1)
at r (WASubContext.js?t=wechat&s=1720664536511&v=3.4.10:1)
at app.js:7
at WASubContext.js?t=wechat&s=1720664536511&v=3.4.10:1
at p.runWith (WASubContext.js?t=wechat&s=1720664536511&v=3.4.10:1)
at q (WASubContext.js?t=wechat&s=1720664536511&v=3.4.10:1)
at appservice.js:7
at doWhenAllScriptLoaded (getmainpackage.js:2364)
at Object.scriptLoaded (getmainpackage.js:2399)
at Object.<anonymous> (getmainpackage.js:2457)(env: Windows,mp,1.06.2407092; lib: 3.4.10)
微信开发者工具(1.06.2407092)
使用pnpm安装echarts
请问我触发了什么?