在 AWS Codebuild 上使用 React Big Calendar 部署 Nextjs 应用程序失败

问题描述 投票:0回答:1

我在 AWS CodeBuild 上部署项目时遇到错误。该错误消息与react-big-calendar库有关,但我不确定是什么原因造成的。我正在使用 Nextjs 13.4.2,节点 18.6.0。有人可以帮我解决问题吗?谢谢你。

构建失败错误:

Module not found: Package path ./helpers/esm/callSuper is not exported from package /codebuild/output/.../@babel/runtime

我尝试在本地计算机上构建,但成功了

next.js aws-codebuild aws-codecommit react-big-calendar
1个回答
0
投票

我通过将其版本降级到 1.5.2 来解决了问题

© www.soinside.com 2019 - 2024. All rights reserved.