Git Product home page Git Product logo

react-components's Introduction

react-components

Searchable repository of React-components

Installation

In order to build this project you need to have node and redis installed in your machine. Once you do, clone the repository and install it, using the following commands:

git clone [email protected]:vaffel/react-components.git
cd react-components
npm install
npm run fetch:database

To run the project in development mode, use:

gulp watch

Importing modules

This project relies on a database of npm components. Before being able to run the project for the first time, you need to fetch the components. The command to do so can also be used any time you wish to update your database.

npm run fetch:database

Possible sources of Installation problems For mac

Problems during npm install

The current version of the project is not yet fully compatible with node v4.0.0. One possible work around is to use Node Version Manager (NVM), and install node v0.12.7. This can be accomplished as follows:

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.28.0/install.sh | bash 
nvm install v0
nvm use v0

If while doing the npm install you run into the following error:

ld: library not found for -lgcc_s.10.5
make: *** [Release/hiredis.node] Error 1

You probably have a problem with your version of Xcode. The easiest way to solve it, is to update your Xcode and open it.

Using Macports

If you use macports to install your dependencies, then the issue might be that you are not using the default gcc compiler. To verify that, do:

gcc --version

If what you get is not the default clang compiler from Xcode, edit your ~/.bash_profile as follows:

vim ~/.bash_profile

And comment out the line:

export PATH=/opt/local/bin:/opt/local/sbin:$PATH

react-components's People

Contributors

rexxars avatar tiagojdf avatar ggordan avatar insin avatar kbrabrand avatar

Watchers

 avatar James Cloos avatar

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.