Giter Site home page Giter Site logo

taxiapp's Introduction

TaxiApp

taxiapp's People

Contributors

eman1000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

taxiapp's Issues

Error: Check the render method of `App`

Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. You likely forgot to export your component from the file it's defined in.

Check the render method of App.

This error is located at:
in App (at Router.js:88)
in Router (at index.js:26)
in Provider (at index.js:25)
in Component (at main.js:11)
in Root (at App.js:28)
in RCTView (at View.js:113)
in View (at App.js:27)
in App (at renderApplication.js:35)
in RCTView (at View.js:113)
in View (at AppContainer.js:102)
in RCTView (at View.js:113)
in View (at AppContainer.js:122)
in AppContainer (at renderApplication.js:34)
createFiberFromElementType
ReactNativeFiber-dev.js:974:100
createFiberFromElement
ReactNativeFiber-dev.js:954:47
reconcileSingleElement
ReactNativeFiber-dev.js:1403:51
reconcileChildFibers
ReactNativeFiber-dev.js:1457:63
reconcileChildrenAtPriority
ReactNativeFiber-dev.js:1634:78
reconcileChildren
ReactNativeFiber-dev.js:1631:40
finishClassComponent
ReactNativeFiber-dev.js:1669:30
updateClassComponent
ReactNativeFiber-dev.js:1659:33
beginWork
ReactNativeFiber-dev.js:1786:44
performUnitOfWork
ReactNativeFiber-dev.js:2528:33
workLoop
ReactNativeFiber-dev.js:2554:141
_invokeGuardedCallback
ReactNativeFiber-dev.js:73:23
invokeGuardedCallback
ReactNativeFiber-dev.js:47:40
performWork
ReactNativeFiber-dev.js:2593:41
scheduleUpdateImpl
ReactNativeFiber-dev.js:2728:101
scheduleUpdate
ReactNativeFiber-dev.js:2711:38
scheduleTopLevelUpdate
ReactNativeFiber-dev.js:2992:91
updateContainer
ReactNativeFiber-dev.js:3003:39
render
ReactNativeFiber-dev.js:3948:53
renderApplication
renderApplication.js:34:4
run
AppRegistry.js:120:10
runApplication
AppRegistry.js:207:26
__callFunction
MessageQueue.js:302:47

MessageQueue.js:116:26
__guard
MessageQueue.js:265:6
callFunctionReturnFlushedQueue
MessageQueue.js:115:17

Can you please help me with that error?

request superagent cors issue

I am unable to use the request util per the below:

07-21 21:38:24.307 16503 18585 I ReactNativeJS: 'ERR request: ', { [Error: Request has been terminated
07-21 21:38:24.307 16503 18585 I ReactNativeJS: Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.]
07-21 21:38:24.307 16503 18585 I ReactNativeJS: crossDomain: true,
07-21 21:38:24.307 16503 18585 I ReactNativeJS: status: undefined,
07-21 21:38:24.307 16503 18585 I ReactNativeJS: method: 'POST',
07-21 21:38:24.307 16503 18585 I ReactNativeJS: url: 'http://localhost:3000/api/bookings' }

I am using an android emulator, is there anything special that needs to be done? The above was achieved by changing request.js to:

request.Request.prototype.finish = function (callback) {
// this replaces superagent's .end() function to include our custom error handling (see above)
this.end((err,res)=>{
console.log("ERR request: ",err),
callback(err,res);
});
};

Build failed

Hi there,

I was cloning the app and wanted to see it in action, but came across some issues with building the app. Here's what my console output was:

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:packageDebug'.

com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store "/Users/sagardesai/.android/debug.keystore": DerInputStream.getLength(): lengthTag=109, too big.

Thanks!

Build Failed

The following build commands failed:

CompileC /Users/awt/Documents/code/react/TaxiApp/ios/build/Build/Intermediates.noindex/RNGooglePlaces.build/Debug-iphonesimulator/RNGooglePlaces.build/Objects-normal/x86_64/NSMutableDictionary+GMSPlace.o NSMutableDictionary+GMSPlace.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler

(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/TaxiApp.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/TaxiApp.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Hi

I need taxi app

Setting up redux didn't work

Hi Emma,
I really appreciate your TaxiApp tutorials but I could not get it to work. couldn't even get past setting up redux. This is the error i am getting:
Element type is invalid. Expected a string (For a built-in component) or a class/function.......... bla bla bla.

Thanks
Kelly

toggleSearchResultModal is not a function error

hi eman,

i have been using your tutorial to learn react and must say very well done tutorial on your part. i have followed all the steps and so far everything works till i reach here.

<Input onFocus={()=>toggleSearchResultModal("pickUp")} inside
TaxiApp/src/routes/Home/components/SearchBox/index.js file.

i have exactly copied everything and mapped the action/actionHandlers in homeContainer.js

but when i run this. i get toggleSearchResultModal is not a function error.

can you please what is wrong ?

error in node modules

Hi there, i was trying to clone the project, after running npm install, when i try running the cmd npm start, this error appears in my console.

Please help me figure it out!
Scanning 646 folders for symlinks in pathofmyproject\node_modules (18ms)

Invalid regular expression: /(node_modules[\]react[\]dist[\].|website\node_modules\.|heapCapture\bundle.js)$/: Unterminated character class

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.