hi dear
i implement smart cobtract in vscode
i have error :
has no network configuration for its current network id (5777).
at evalmachine.<anonymous>:1:48
at Function.getter (c:\Users\Apple\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\contract\lib\contract\constructorMethods.js:282:1)
at Function.get (c:\Users\Apple\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\contract\lib\contract\properties.js:129:1)
at Function.getter (c:\Users\Apple\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\contract\lib\contract\constructorMethods.js:285:1)
at Function.network (c:\Users\Apple\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\contract\lib\contract\properties.js:108:1)
in truffle-config.js i entered :
development: {
host: '127.0.0.1', // Localhost (default: none)
port: 9545, // Standard Ethereum port (default: none)
network_id: '5777', // Any network (default: none)
},
but have error
plz help me
thanks
Top comments (0)