easemob / webim-react-native

194 stars 41 forks source link

按照步骤接入后引用strophe-1.2.8.js报错 #41

Open cherryrui opened 6 years ago

cherryrui commented 6 years ago

error: bundling failed: Error: require() must have a single string literal argument: G:\workspace\react-native\RepaireApp\Util\webIM\Sdk\dist\strophe-1.2.8.js:3229 环境: react:16.0.0 react-native:0.51.0 xmldom:0.1.27

minxiongxiong commented 6 years ago

我也遇到此问题,楼主解决了吗

feifeimonghuan3 commented 6 years ago

我也碰到了

Arguiwu commented 6 years ago

tim 20180806104252

将 require 改成 define

loss99 commented 6 years ago

@Arguiwu 他的办法 解决了问题