stone-dapp icon indicating copy to clipboard operation
stone-dapp copied to clipboard

truffle console error

Open Akanryan502 opened this issue 5 years ago • 5 comments

Please how can i fix this... Error: Token has not been deployed to detected network (network/artifact mismatch) at process._tickCallback (internal/process/next_tick.js:68:7) at Function.deployed (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/contract/constructorMethods.js:85:1) at Object.checkNetworkArtifactMatch (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/utils/index.js:271:1) Any idea i appreciated... Thank You

Akanryan502 avatar Aug 15 '20 17:08 Akanryan502

@Akanryan502 did you migrate the contract via truffle migrate first ?

didil avatar Aug 15 '20 17:08 didil

Yes boss... I even deployed the first smart contract I built... didn't throw this error...

Akanryan502 avatar Aug 15 '20 21:08 Akanryan502

Did you try npm uninstall -g truffle and then an npm install -g truffle ? If yes then can you please check your network configuration file ? @Akanryan502

ghost avatar Sep 07 '20 04:09 ghost

I have same problem. How did you fix this? @Akanryan502

ghost avatar Jan 15 '22 16:01 ghost

@Mazekeen08 your answer helped me thanks <3

ghost avatar Jan 15 '22 17:01 ghost