LoginSignup
0

More than 3 years have passed since last update.

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

Last updated at Posted at 2019-06-09

Truffleと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の運営に言わないとな。

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
0