【问题标题】:AWS Amplify; Module not found in buildAWS 放大;在构建中找不到模块
【发布时间】:2022-10-20 13:46:00
【问题描述】:

我在反应应用程序中有一个定制的 CKEditor5。我下载了定制的 CKEditor5 并将其包含在源代码中,如下图所示。

Package layout

它在本地正常工作和建设,没有任何问题。但是,当我推动放大时,它无法构建

2022-09-23T19:22:53.142Z [INFO]: Creating an optimized production build...
2022-09-23T19:23:16.863Z [INFO]: Failed to compile.
2022-09-23T19:23:16.867Z [INFO]: Module not found: Error: Can't resolve 'ckeditor5-custom-build/build/ckeditor' in '/codebuild/output/src100157020/src/content-writing/src/Components'
2022-09-23T19:23:16.903Z [WARNING]: npm
2022-09-23T19:23:16.904Z [WARNING]: ERR! code ELIFECYCLE
                                    npm ERR! errno 1
2022-09-23T19:23:16.906Z [WARNING]: npm
2022-09-23T19:23:16.906Z [WARNING]: ERR! content-writing@0.1.0 build: `react-scripts build`
                                    npm ERR! Exit status 1
                                    npm ERR!
                                    npm ERR! Failed at the content-writing@0.1.0 build script.
                                    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

知道问题是什么或如何解决吗?

【问题讨论】:

    标签: reactjs ckeditor aws-amplify


    【解决方案1】:

    你得到这个答案了吗?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-08-09
      • 2017-09-17
      • 2021-04-20
      • 2016-11-01
      • 2022-10-26
      • 2015-08-21
      相关资源
      最近更新 更多