LoginSignup
3
2

More than 5 years have passed since last update.

アービトラージを起動できました

Last updated at Posted at 2018-05-30

こちらのアービトラージのソースを見つけたので、起動を試みていました。
https://qiita.com/bitrinjani/items/3ed756da9baf7d171306

Node.jsのバージョンですが、最新のV10では、動かないです。
スタートしても、エラーになります。

それで先に投稿したバージョン管理のnodebrewで、V8.5.0をインストールしたら、起動できました。
スクリーンショット 2018-05-30 17.10.29.png

nodebrewについては、こちらの記事を読んでください。
https://qiita.com/sawapi/items/adfc11465d034f4f2cf9

私は、今の段階では、ブラウザでのモニタリングができていないです。
http://127.0.0.1:8720/
にアクセスすると、接続が拒否されてしまうので。
セキュリティソフトをOFFにしても、ダメでした。
ポートが開いてないのか、確認をしている最中です。

念のため

r2のインストールが終わると、

npm WARN deprecated @types/chalk@2.2.0: This is a stub types definition for chalk (https://github.com/chalk/chalk). chalk provides its own type definitions, so you don't need @types/chalk installed!

出るのが気になったので、下記のコードで、追加してみました。
不要なのかもしれません。

git clone https://github.com/chalk/chalk.git

また

npm WARN r2@2.4.0 No repository field.

と出ますが、スルーしました。

ブラウザでモニタリングする場合

初期のconfig.jsonでは、webGatewayがfalseになっていますので、trueに変更します。
私も、起動できました。
スクリーンショット 2018-05-30 17.49.06.png

 },
  "webGateway": {
    "enabled": true,
    "host": "127.0.0.1",
    "openBrowser": true
  },

この質問の回答を参考にしました。
https://github.com/bitrinjani/r2/issues/128

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2