我想运行链接到localhost:8080的"truffle serve" . But get this error message
然后我试图找到可能是松露版本的问题 . 我试过"npm run dev" . 但是this message失败了 .
我怎么解决这个问题?,请帮帮我 .
我想运行链接到localhost:8080的"truffle serve" . But get this error message
然后我试图找到可能是松露版本的问题 . 我试过"npm run dev" . 但是this message失败了 .
我怎么解决这个问题?,请帮帮我 .
2 回答
将其添加到
package.json
的scripts
部分:这允许您通过发出
npm run dev
来执行truffle serve
.关于您的
fsevents is not a constructor
问题,请参阅这表明发行
解决了这个问题 .
尝试使用命令
npm run serve