yikalosi

Results comments of yikalosi

Warnings while compiling. warnings @ client?742c:148 onmessage @ socket.js?e29c:41 EventTarget.dispatchEvent @ sockjs.js?9be2:170 (anonymous) @ sockjs.js?9be2:887 SockJS._transportMessage @ sockjs.js?9be2:885 EventEmitter.emit @ sockjs.js?9be2:86 WebSocketTransport.ws.onmessage @ sockjs.js?9be2:2961 client?742c:154 ./.temp/pages/index/index.js 272:20-28 "export 'computed' was...

```js import { ComponentType } from 'react' import Taro, { Component, Config } from '@tarojs/taro' import { View, Button, Text } from '@tarojs/components' import { observer, inject } from '@tarojs/mobx'...

>  需要修改壳子代码比如IOS的appDelegate.m文件 > ![图片](https://user-images.githubusercontent.com/2345176/59397859-adc33700-8dc0-11e9-9364-d2893b87bedb.png) ios到是@"rn_temp/index",android不知道在哪里改

> 我来修一下taro-native-shell 大佬,安卓的修改了吗

taro版本是1.2.26,项目里面没有改过其他的,选择redux可以成功,mobx就不行

升级到beta.8版本可以的

升级到beta.8版本可以的

升级到1.3.4后,在浏览器输入http://127.0.0.1:8081/rn_temp/index.bundle?platform=android&dev=true构建bundle也是失败的,之前在rn_temp没删除node_modules还可以

> > 报错还是挺详细的:“message”:“在任何根目录中都找不到入口文件index.js: > > URL路径改为rn_temp / index.js即可。 > > 安卓的还得把rn_temp把这个生成目录移到taro-native-shell他下面吗?IOS不用移,可以跑起来,安卓应该也不用吧。 应该不用吧,你现在在浏览器输入http://127.0.0.1:8081/rn_temp/index.bundle?platform=android&dev=true 显示的什么