Am using wsl(ubuntu) on windows 10. Problem is, am trying to deploy.js file with node, here's the error result --> (" reason: 'could not detect network', code: 'NETWORK_ERROR', event: 'noNetwork' using ganache network)

1 Answer 1


Activate your Ganache, and navigate to "contract"...scroll-down and click-on "link truffle projects , accept the allow your system to have access to Ganache on the pop-up and afterward follow the same procedure and continue by clicking on link-truffle projects then go to server and finally change server host-name to "vEHTHERNET(WSL)".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.