decentraland / sdk

PM repository for SDK
Apache License 2.0
4 stars 4 forks source link

Imports broken in new project till I run first preview #1141

Open nearnshaw opened 2 weeks ago

nearnshaw commented 2 weeks ago

If I create a project with the editor and dive straight into the code, I'll see that all the code is underlined in red, and it won't like any snippets I paste from the docs. This makes for a very confusing first experience.

Image

If I run a preview of my scene before I do this, then it's all fine. But maybe I didn't have any need to do this yet, so it will all feel broken.

Looks like when we run a preview, we're installing some dependencies. We should do that earlier, probably at the moment of creating the new project.