Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Searchable repository of React-components

License

NotificationsYou must be signed in to change notification settings

vaffel/react-components

Repository files navigation

Searchable repository of React-components

Installation

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

git clone git@github.com:vaffel/react-components.gitcd react-componentsnpm installnpm 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 v0nvm use v0

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

ld: library not found for -lgcc_s.10.5make: *** [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 thedefault 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

About

Searchable repository of React-components

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp