下载范例工程时候。使用以下命令报错:
truffle init webpack
具体错误如下:
Error: `truffle init` no longer accepts a project template name as an argument.
- For an empty project, use `truffle init` with no arguments
- Or, browse the Truffle Boxes at <http://truffleframework.com/boxes>!
出错原因:命令已经更新了!
解决办法:
通过如下方式就可以了!命令如下:
truffle unbox webpack