网赚论坛

 找回密码
 免费注册
查看: 228|回复: 0
打印 上一主题 下一主题

求助大神 指导下truffle 框架的问题

[复制链接]

22

主题

22

帖子

88

积分

Ⅰ级财主

Rank: 1

积分
88
跳转到指定楼层
楼主
发表于 2017-10-21 18:00:52 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Truffle v3.3.2 (core: 3.3.1)
Solidity v0.4.11 (solc-js)
各位大神,我在网上按照步骤一路操作下来,先testrpc 信息如下:
EthereumJS TestRPC v4.0.1 (ganache-core: 1.0.1)

Available Accounts
==================
(0) 0xad9b8d5f56dd1da3980546414def53b86062fff2
(1) 0x2f27ddd142b9e4e7c910b7b435a1dd5f7970d85d
(2) 0x68ee5ca99a006e29a8a29f839153b9205beca232
(3) 0x35ff7934c2080aa56d4e3c70f89860e26b9450da
(4) 0x9a99fa766064fa26bb24c5b1f84141d3019fd1d3
(5) 0x418a0c622f84c82a68664e7df9536558655b643a
(6) 0x33341f7debfb4eb326f2cb1a13957821973f2737
(7) 0xf33ebfdc4f346356a3aa292dd6b23d20ad825277
(8) 0x8dba93769dbd49ee775bc5f48c7aa528906f0c0d
(9) 0x56440c62b8603d1d26eb4f5c58306e56cf32448c

Private Keys
==================
(0) 20620a948d589f71fb793bb20202a59349c13463428b546cf77f32af5f900ba3
(1) 2ab451ba3d68eb56ffa8767b1cc289369a2216c2e87b5174d25ff35c09411795
(2) 4d290057cb3f71bd92d11212080fa72066f4c5bb8eca4b791b8b03409362a752
(3) 33f6b712ad19ca27e28f93614421630c454832606029c9f72028e15431d5722c
(4) 1821d749a34c67139ab2ce303a1b723c695daad01bfc7ed1875a2ddd1906aa09
(5) d1c89e03f17abed52591b8ebde210a621b30185ee2997f8a1b20f3edb05555b0
(6) 0de531e9bf7e9e9cb7800cd1d93aed4a5b47fb8e4e1a3013ffd6c5778a86149a
(7) 707742ce7f812f076d9c4e505d67f7ece723dcbe551bbec744e37b1e8e776fe5
(8) 62399a158449f4bf89dcd24127b4721db08454e21c8518c14c40c2da8c1c113c
(9) af227e2aad8049873a38b7d7689f0e2accf422f613633d8fcc35badf652cb65a

HD Wallet
==================
Mnemonic: resist never solve orient drill course chunk icon improve soccer magic quarter
Base HD Path: m/44'/60'/0'/0/{account_index}

Listening on localhost:8545


然后执行truffle migrate 信息如下:
Error: Cannot find module 'truffle-expect'
at Function.Module._resolveFilename (module.js:485:15)
at Function.Module._load (module.js:437:25)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:85773:14)
at __webpack_require__ (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:21:30)
at Object. (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:59914:15)
at __webpack_require__ (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:21:30)
at Object.run (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:84660:19)
at Command.run (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:60901:20)

为什么说找不到truffle-expect
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

广告合作|Archiver|手机版|小黑屋|财富吧

GMT+8, 2024-11-16 14:32 , Processed in 0.374401 second(s), 35 queries , Gzip On.

Powered by Discuz! X3.1

© 2014-2021 财富吧

快速回复 返回顶部 返回列表