
[英]AWS Amplify & React - Module not found: Can't resolve '@aws-amplify/analytics'
[英]AWS Amplify; Module not found in build
我在反应应用程序中有一个定制的 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.
知道问题是什么或如何解决吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.