(有可能是包更新了。首先检查队友有否更新npm包,有先npm i一下)
修改打包设置(我的是tsconfig.json)
"module": "commonJS" 改成 "module": "esnext" 或其他