Rojo Build Error

I’m trying to create my first Rojo v0.5.0 project, but I’m getting an error. Does anybody know what I did wrong?

I was following these instructions: https://lpghatguy.github.io/rojo/creating-a-place/

I’m not familiar with JSON projects or Rojo, but having a quick look at the documentation and your displayed error: https://lpghatguy.github.io/rojo/project-format/ Missing field ‘Type’, this field seems to fill itself in based on some properties of Roblox objects, or maybe you have to initialize Type yourself. Have you tried looking at the specified code with the error? The above link also has a nice example of what to expect.

While I’ve personally never used Rojo, I do use JSON quite frequently. I suggest going to https://jsonformatter.curiousconcept.com/ (or any json validator of your choice, i just like to use this one) and finding that file and opening it, and then pasting the text. If you didn’t create that file yourself, and are positive (or at least you think you are) that you couldn’t have caused this problem, you might want to post an issue on the repository.

1 Like

Doing rojo init creates a single file “default.project.json” containing this code:

{
  "name": "test",
  "tree": {
    "$className": "DataModel",
    "ReplicatedStorage": {
      "$className": "ReplicatedStorage",
      "Source": {
        "$path": "src"
      }
    },
    "HttpService": {
      "$className": "HttpService",
      "$properties": {
        "HttpEnabled": {
          "Concrete": {
            "Type": "Bool",
            "Value": true
          }
        }
      }
    }
  }
}

The reason I’m confused is because there isn’t a Type field at line 22 column 3.

Thank you for the suggestion; I submitted an issue on the repository.

Edit: LPGhatguy has confirmed that a fix for this is coming in the next release.