yohnz / maoyanfilm Goto Github PK
View Code? Open in Web Editor NEWreact-native app
License: MIT License
react-native app
License: MIT License
import Index from "./main"; 在main.js里没有看到Index?
在index.android.js和main.js里都定义了film类,实际用的是哪个?
的vs code 老是报错, es6的 static PropType={ } 这个东西 一直报错,
数据接口(xxx) 应该替换成什么?刚接触请教下。
react-native 报错,执行react-native run-android命令后,PS:npm install 和react-native start命令已经执行,报错如下
JS server already running.
Building and installing the app on the device (cd android && ./gradlew installDebug...
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html
我是连了手机的,而且执行我自己创建的项目的时候是没问题的
cd /Users/user/Desktop/maoyanFilm-master
cassiel:maoyanFilm-master user$ npm install
-bash: npm: command not found
2017-03-29 14:50:31.068 [error][tid:com.facebook.React.JavaScript] Can't find variable: films
2017-03-29 14:50:31.074 [fatal][tid:com.facebook.React.RCTExceptionsManagerQueue] Unhandled JS Exception: Can't find variable: films
In main.js:
import TabBarItem from "./utils/TabBarItem";
But in utils/TabBarItem.js, no TabBarItem class, where is the TabBarItem Component?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.