CNodeRN又一个CNode React-Native App
项目地址
https://github.com/ali322/CNodeRN 欢迎star,欢迎PR
安装
For Android
For ios 须越狱或者使用itools安装
开发
- 克隆至本地
git clone https://github.com/ali322/CNodeRN
- 安装依赖包
npm install
- 在模拟器里面运行
react-native run-ios
或者react-native run-android
屏幕截图
依赖包清单
- react-native-camera
- react-native-htmlview
- react-native-scrollable-tab-view
- react-native-vector-icons
- react-native-spinkit
- seamless-immutable
- redux
- react-redux
- redux-persist
- redux-thunk
- lodash
- moment
- react-native-code-push
待完成
- 改进htmlview组件在android上的兼容性
- 完善缓存功能
33 回复
@ali322 我创建项目的时候总是报这个错
➜ react-native react-native init demo
This will walk you through creating a new React Native project in /Users/tomoya/Desktop/Dev/react-native/demo
Installing react-native package from npm...
module.js:327
throw err;
^
Error: Cannot find module '/Users/tomoya/Desktop/Dev/react-native/demo/node_modules/react-native/package.json'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at checkNodeVersion (/usr/local/lib/node_modules/react-native-cli/index.js:245:21)
at /usr/local/lib/node_modules/react-native-cli/index.js:224:5
at ChildProcess.exithandler (child_process.js:204:7)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:827:16)