hprose/hprose-nodejs

syntaxError HarmonMaps.js: 'return' outside of function

91jason opened this issue · 1 comments

我在使用 react native 开发移动应用,使用 npm install hprose 安装了2.0.8提示这个错误,为什么 ?
syntaxError HarmonMaps.js: 'return' outside of function

去除了 return 之后,还会提示找不到modules 'url' 与 'util' why?

andot commented

我没用过 react native,不过 react native 属于前端框架,我觉得你应该使用 http://github.com/hprose/hprose-html5 这个版本。