I am afraid that I did not understand the failing environment. Is it a local VM you installed in your machine, or a instance you spun up in AWS?
If it's the latter, then you can read about it here. In the first case, you will find guidance here.
Let us know if we can help with anything else