npm init
npm install --save @hw-hmscore/analytics-web
pnpm add @agconnect/api @agconnect/instance
其中,6.x.x-300为引用的SDK的版本号,例如6.9.9-300。