36401/truffle-migrate-error-cannot-find-module-truffle-expect
I have written a Hello World program (copied it exactly as it is from the blog). Compiled it, works fine. Trying to migrate it but I am getting this error :
Error: Cannot find module 'truffle-expect' at Function.Module._resolveFilename (module.js:470:15) at Function.Module._load (module.js:418:25) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object.<anonymous> (/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.<anonymous> (/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.<anonymous> (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:201851:15) at __webpack_require__ (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:21:30)
Seems like you are missing some modules required to run this.
To install required modules. Run the following:
npm install -g truffle-expect truffle-config web3
and then run
testrpc
and in another terminal run:
truffle migrate
Change your directory to fabric-samples/fabrcar. And run: npm ...READ MORE
Make these entries in truffle.js file: module.exports = { ...READ MORE
You can install babel-register and try again. ...READ MORE
Try compiling and migrating the contract: $ truffle ...READ MORE
This was a bug. They've fixed it. ...READ MORE
Summary: Both should provide similar reliability of ...READ MORE
yes all are over TCP/IP connections secured ...READ MORE
You can also install the basic truffle-expect ...READ MORE
I think you need to run this ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.