首页 > 解决方案 > 错误:TypeError [ERR_INVALID_REPL_INPUT]:“uncaughtException”的侦听器不能在 Object.compile 的 REPL 中使用

问题描述

我是 truffle 新手,我从事区块链项目,所以当我在 truffle 开发中“迁移”时,会发生此错误。为什么 ?我在 truffle-config.js 中将编译器的版本更改为 4.25,但没有任何改变。在此先感谢您的帮助。

标签: node.jsblockchainethereumsoliditytruffle

解决方案


这可能会有所帮助:

truffle migrate --reset

推荐阅读