npx truffle compile error malformed URL: ' ' Please specify a correct URL, using the http, https, ws

Copper Contributor

I received this error when right clicking HelloBlockchain.sol and selecting "Build Contracts". npx truffle compile did not run. Can you help fix the URL problem so "npx truffle compile" will execute properly?

3 Replies

@mctimmyamptgpcom 

Please paste a copy of your truffle-config.js,  the issue might be in there somewhere.

@mctimmyamptgpcom 

Please find attached a copy of the error report. I am not able to proceed without spending $$ because the Azure free trial period ended and I have not renewed it but if you have a fix, I would like to see it. Thanks.

@Sankara_Tim 

Please find attached a copy of the truffle-config.js. I am not able to proceed without spending $$ because the Azure free trial period ended and I have not renewed it but if you have a fix, I would like to see it. Thanks.