【发布时间】:2022-10-20 13:46:00
【问题描述】:
我在反应应用程序中有一个定制的 CKEditor5。我下载了定制的 CKEditor5 并将其包含在源代码中,如下图所示。
它在本地正常工作和建设,没有任何问题。但是,当我推动放大时,它无法构建
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