- node v6.12.x
- 6.12.3 で動作確認済み
- npm 4.x 以上
- 4.6.1 で動作確認済み
- yarn 1.2.1 以上
- 1.3.2 で動作確認済み
- node をインストール
- npm のアップグレード
npm install -g npm@4
- yarn をインストール
- バージョンチェック
# node のバージョンチェック
node -v
# npm のバージョンチェック
npm -v
# yarn のバージョンチェック
yarn -v
- clone
cd /path/to/hoge
git clone git@github.com:shinichi0617/kdtrust-inventry-control-front.git
cd centra
- 依存関係のアップデート
yarn
- 起動
npm start
npm clean
まだ正常動作しない場合は、依存しているモジュールを再インストールする
# node_modules 等をまとめて削除
# 実際に実行するときは -n オプションを外す
git clean -fdxn
yarn