Closed avinanakarmi closed 5 years ago
Same as #1188
Hi @avinanakarmi, can you provide more context as to when the error occurred? Thanks!
I installed the Ganache Windows App and tried to create a new work-space. When i add a project i.e. truffle-config.js file and save work-space, i get the fore mentioned error.
@avinanakarmi, Do you mind sharing your truffle config here?
I ran into this same error. Please find my truffle-config.js in this gist: https://gist.github.com/imdario/be9821fa2ec58de40bf6b8b79f13f7a0
This config was generated using truffle init
and it wasn't edited in any way.
@imdario I was unable to reproduce with the supplied truffle-config.js
. Are you able to share your entire project?
Actually, I just did these steps:
mkdir Greeter
cd Greeter
truffle init
That's all. Truffle's version is v5.0.10.
@imdario, what version of node does node --version
return and what OS are you running?
Thank you for your response.
I have already solved the issue. My account in MetaMask was in private mode. I switched it off n the problem was solved.
On Wed, Apr 3, 2019, 8:48 PM David Murdoch notifications@github.com wrote:
@imdario https://github.com/imdario, what version of node does node --version return and what OS are you running?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/trufflesuite/ganache/issues/1184#issuecomment-479528584, or mute the thread https://github.com/notifications/unsubscribe-auth/AgjS29Yed-7LF1rtDq848u2kker7p2MAks5vdMKtgaJpZM4cMgKu .
@avinanakarmi interesting! This is still a bug in Ganache we'll get fixed, as metamask connecting in private mode shouldn't crash it! Thanks!
@avinanakarmi I can't reproduce in private mode. Are there any other steps I should take?
@davidmurdoch It returns v10.7.0. I upgraded and tested against 10.15.3 LTS and it just worked.
I also checked my MetaMask settings and it doesn't have private mode activated.
This should now be fixed in our latest beta: https://github.com/trufflesuite/ganache/releases/tag/v2.0.1-beta.0 Let me know if you have any issues or if the fix doesn't work for you.
I tried to create a new work space in Ganache and it said this when i added a project and saved the workspace.
PLATFORM: win32 GANACHE VERSION: 2.0.0
EXCEPTION: