版本发完,遇到的问题
版本迭代中package.json 文件中
"dependencies": {
"@ctrip/crn": "git+http://wirelesscode.ctripcorp.com/crn#rel/7.5",
"@ctrip/crn_ext":"git+http://wirelesscode.ctripcorp.com/crn_ext#rel/7.5",
"@ctrip/hotelcrn":"git+http://git.dev.sh.ctripcorp.com/hotelnative/crn_components.git#7.5",
"react": "15.4.2",
"react-native": "0.41.0",
"react-redux": "4.4.5",
"redux": "3.5.2",
"redux-thunk": "2.1.0",
"redux-logger": "2.6.1"
},
从7.4 变成 7.5 的时候,直接删除工程目录的node_modules,然后执行 nam install ,安装新的node_modules 。
执行can-cli run-patch 更新rn 依赖
重新执行can-cli start 重新启动服务