32929/truffle-specify-network-development-configuration-network
When I run
truffle migrate --reset
I am getting this error:
Error: You must specify a network_id in your 'development' configuration in order to use this network. at Object.detect (/usr/local/lib/node_modules/truffle/build/webpack:/packages/truffle-core/lib/environment.js:43:1) at /usr/local/lib/node_modules/truffle/build/webpack:/packages/truffle-core/lib/commands/migrate.js:91:1 at finished (/usr/local/lib/node_modules/truffle/build/webpack:/packages/truffle-workflow-compile/index.js:53:1) at /usr/local/lib/node_modules/truffle/build/webpack:/packages/truffle-compile/index.js:314:1 at /usr/local/lib/node_modules/truffle/build/webpack:/packages/truffle-compile/profiler.js:158:1 at /usr/local/lib/node_modules/truffle/build/webpack:/~/async/dist/async.js:3888:1 at /usr/local/lib/node_modules/truffle/build/webpack:/~/async/dist/async.js:473:1 at replenish (/usr/local/lib/node_modules/truffle/build/webpack:/~/async/dist/async.js:1006:1) at iterateeCallback (/usr/local/lib/node_modules/truffle/build/webpack:/~/async/dist/async.js:995:1) at /usr/local/lib/node_modules/truffle/build/webpack:/~/async/dist/async.js:969:1 at /usr/local/lib/node_modules/truffle/build/webpack:/~/async/dist/async.js:3885:1 at /usr/local/lib/node_modules/truffle/build/webpack:/packages/truffle-compile/profiler.js:154:1 at /usr/local/lib/node_modules/truffle/build/webpack:/~/async/dist/async.js:1140:1 at /usr/local/lib/node_modules/truffle/build/webpack:/~/async/dist/async.js:473:1 at iteratorCallback (/usr/local/lib/node_modules/truffle/build/webpack:/~/async/dist/async.js:1064:1) at /usr/local/lib/node_modules/truffle/build/webpack:/~/async/dist/async.js:969:1 at /usr/local/lib/node_modules/truffle/build/webpack:/~/async/dist/async.js:1137:1 at /usr/local/lib/node_modules/truffle/build/webpack:/packages/truffle-compile/profiler.js:133:1 at FSReqWrap.oncomplete (fs.js:153:5)
You have to mention the network id in truffle.js file. If you are not aware of your network id or/and you want to join any network, then you mention the property like:
network_id: '*'
This will match to any network id available.
The peers communicate among them through the ...READ MORE
module - don't think so. Because module ...READ MORE
you can use const Socket = require('blockchain.info/Socket'); const mySocket ...READ MORE
Rest API is not available for Hyperledger ...READ MORE
This was a bug. They've fixed it. ...READ MORE
Summary: Both should provide similar reliability of ...READ MORE
The json file required to run dev is ...READ MORE
Make these entries in truffle.js file: module.exports = { ...READ MORE
I guess you have ganache running already ...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.