wangEditor icon indicating copy to clipboard operation
wangEditor copied to clipboard

为什么我npm i 之后 webpack 无法解析 如何配置才能用呢

Open CodeYoungBoy opened this issue 1 year ago • 1 comments

in ./~/@wangeditor/editor/dist/index.esm.js Module parse failed: E:\dw\zcgl-tyjk\invest-instruction-proxy-client-dev_dm\src\main\frontend\node_modules@wangeditor\editor\dist\index.esm.js Unexpected token (18:966) You may need an appropriate loader to handle this file type.

CodeYoungBoy avatar Oct 14 '24 06:10 CodeYoungBoy

检查一下node_module 目录中有没有 @wangeditor\editor\dist\index.esm.js

cycleccc avatar Oct 14 '24 06:10 cycleccc

这个是我的解决方法:https://github.com/wangeditor-team/wangEditor/issues/4041#issuecomment-3026928957

Kuro-P avatar Jul 02 '25 08:07 Kuro-P