Open ajshedivy opened 2 weeks ago
After doing some more reading I found that there is not a package manager (yet) for mojo. I cloned the repo and added it to my include directories in mojo extension settings which resolves the import errors š
@ajshedivy yup, there is basically no IDE support for this kind of package management in Magic/Mojo ecosystem yet. Hopefully we get it soon!
NOTE: I am new to the modular ecosystem so I appreciate you help and patience :grin:
I followed the instructions to setup a
mojoproject
using magic:Add community channel to
mojoproject.toml
Add lightbug_http package
mojoproject.toml
:Everything up to this point works great, but when I create a mojo file in vscode and import modules from
lightbug_http
, I get the following error:I am able to run the server just fine using
magic run mojo
Is there a setup step or config I am missing that would resolve the import errors with mojo? Is there a way to select a "magic environment" like in python where you can activate a specific environment in vscode?
Desktop (please complete the following information):