IjzerenHein / firestorter

Use Google Firestore in React with zero effort, using MobX 🤘
http://firestorter.com
MIT License
378 stars 50 forks source link

Not possible to install #1

Closed fsolar closed 7 years ago

fsolar commented 7 years ago

Im getting this error after "yarn add firestore-react-mobx":

yarn add v1.1.0 [1/4] Resolving packages... error Couldn't find package "firestore-react-mobx" on the "npm" registry. info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

same with npm

IjzerenHein commented 7 years ago

Hi, cool for trying out my new package! I just started it and hadn't published to npm yet. Just published it, should work now. 🖖

IjzerenHein commented 7 years ago

Hey, I've made some changes to the API to make it easier to use. Also, I've added API documentation with examples to help anyone get started.

Let me know whether I can close this issue.

cheers, Hein

fsolar commented 7 years ago

Hi, I'm trying the example now. I'll tell you later, thanks!

IjzerenHein commented 7 years ago

Cool, let me know if you have issues.

fsolar commented 7 years ago

Hi, im working with this repo https://github.com/rwieruch/react-mobx-firebase-authentication wish already include react router v4, mobx and firebase authentication, so is a good starting point. But i cant make it work with your repo... 😞

IjzerenHein commented 7 years ago

If you can tell me what's not working, I can maybe help you. Do you have a public repo I can take a look at?

fsolar commented 7 years ago

Yes https://github.com/fsolar/cjm33_2. create-react-app bootrasped. Key info in the Readme.md. Thanks a lot!!!!

IjzerenHein commented 7 years ago

My god, your code is a mess..

Anyway, I think this is the reason of the error:

IngresoDeVehiculos.js

  ...
          <Col s={12}>
            {this.renderCars}
          </Col>
   ...

You forgot to actually call the renderCars function. It should be {this.renderCars()}

fsolar commented 7 years ago

Hahaha yes I know... I'm a web designer and I'm new to the React world and JS ecosystem, but thanks again, that worked, it was just a typo.

IjzerenHein commented 7 years ago

Your welcome 👍