【truffle】Error: `truffle init` no longer accepts a project template name as an argument.

下载范例工程时候。使用命令报错

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  

 

posted @ 2018-06-07 17:12  依然范儿特西  阅读(496)  评论(0)    收藏  举报