Good Afternoon Crypto Community!
As you might have come already to the conclusion from the topic name, I have one small problem and I am not really sure how to solve it. The problem is : Any time I try to install -g truffle for the Ethereum Smart Contract Programming 201 course, I get a specific error saying :
" Legacy version of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)".
Here is also additional photo : https://prnt.sc/uhsodm
Does anyone have any idea how to fix this issue?
In visual studio code I am not sure how to update compiler version but every time I try to create a contract with .sol extension I get a following error :
“Source file requires different compiler version (current compiler is 0.7.0+commit.9e61f92b.Emscripten.clang) - note that nightly builds are considered to be strictly less than the released version”.
Photo : https://prnt.sc/uhsp6a
If anyone knows anything that I could do to fix this I would appreciate any feedback!
I will be trying to solve it myself as well, but in any case if someone knows any solution that could help a lot. Thank You Crypto Community!