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  

truffle unbox webpack

    A+
发布日期:2018年06月20日 18:01:28  所属分类:Truffle框架
最后更新时间:2018-06-20 18:02:45
头像
  • ¥ 298.0元
  • 市场价:598.0元
  • ¥ 99.0元
  • 市场价:129.0元
  • ¥ 818.0元
  • 市场价:1688.0元
  • ¥ 999元
  • 市场价:4999元

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: