Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
Help us understand the problem. What is going on with this article?

TruffleとReactのチュートリアルでエラー

More than 1 year has passed since last update.

TruffleとReact組み合わせたチュートリアルやったんだけど

https://www.trufflesuite.com/tutorials/getting-started-with-drizzle-and-react

最新のnode.js version だとtest時に以下のエラーが出る。

 TypeError [ERR_INVALID_REPL_INPUT] 
 Listeners for `uncaughtException` cannot be used in the REPL 

原因

node version 12.3.0 にてREPLがアップデートされ、以下のリンクのエラーExceptionが追加。
Screen Shot 2019-06-09 at 16.52.58.png
https://nodejs.org/api/repl.html#repl_repl

nodeのダウングレードにて対処。
https://www.surrealcms.com/blog/how-to-upgrade-or-downgrade-nodejs-using-npm.html

でも後々チュートリアルの方をアップデートしないと行けないはず。
Truffleの運営に言わないとな。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away