Open cherryrui opened 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
我也遇到此问题,楼主解决了吗
我也碰到了
将 require 改成 define
@Arguiwu 他的办法 解决了问题
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