`The Mojo:fire: development environment was not found. If the Mojo SDK is installed, please set the
16 Replies
"I did what the error message asked, but I couldn't obtain the path."
It sounds like you tried to re-install the Mojo SDK a second time. But I believe the error is asking you to locate the
.modular
directory in whatever environment that VS Code is running in. Have you been able to locate that yet?I couldn't locate that and tried to locate it with the help of GPT chat but it didn't work
If you followed the route of installing mojo in a docker container, then you'd need to connect VS Code to the container first.
OTOH, if you just have it installed locally, the user running MS Code, needs to have privileges to the modular/mojo install path.
I did that but the problem still exists
Congrats @osvr_3, you just advanced to level 1!
Anyone with experience please help me
Does your MS Visual Code have the Docker plugin installed/enabled ? And does it see the built mojo docker image ?
Something like this.
The major difference in your setup is that you are installing docker via
snap
. Like flatpak
, snap
would install in its own confined environment.
In my setup, I have docker installed directly on the host. The package I prefer is the natively packaged one, which is docker.io
I think the problem is that Mojo didn't download correctly. Is there any problem and how to solve it?
Did you write export for mojo in .bashrc?
Do you mean like this?