发布我的 React 应用程序时,我看到以下输出
> react-scripts build
Creating an optimized production build...
Failed to compile.
Class constructor Parser cannot be invoked without 'new'
Run Code Online (Sandbox Code Playgroud)
我相信有人可能破坏了我正在使用的软件包,因为它在本地构建良好,并且重建在我的管道中成功的旧构建现在失败并出现相同的错误。我怎样才能找到这个问题的原因?堆栈跟踪中没有其他相关信息。