GGEditor icon indicating copy to clipboard operation
GGEditor copied to clipboard

在create-react-app中使用报错

Open johnnylc opened this issue 4 years ago • 2 comments

版本

gg-editor "version": "3.0.0-beta.0",

环境

系统:macOS 浏览器:Chrome:76.0.3809.132 React:16.9.0

重现步骤

1,安装脚手架create-react-app 2,配置antd 3,安装gg-editor 4,页面直接render <GGEditor> </GGEditor> 报错信息如下:

./node_modules/gg-editor/src/index.tsx Module not found: Can't resolve './common/context/EditorContext' in 'XXXXXXXXXXXXXXXXXXXXXXX/node_modules/gg-editor/src'

johnnylc avatar Sep 08 '19 05:09 johnnylc

我切换到了低版本解决2.0.4

shenmaxg avatar Sep 12 '19 02:09 shenmaxg

While running the code for command section I am facing the below error in "gg-editor": "^3.1.3", "Can't resolve 'gg-editor/lib/common/interfaces'"

Can some one help on this?

susant11 avatar Oct 23 '20 05:10 susant11