[ERROR rojo] ClassName for Instance "ReplicatedFirst" was specified in both the project file (as "ReplicatedFirst") and from the filesystem (as "LocalScript").
If $className and $path are both set, $path must refer to a Folder.
Project path: c:\...\default.project.json
Filesystem path: src/ReplicatedFirst
I’ve decided to use Rojo for my game. I’ve used rbxlx-to-rojo to move it and now I’m getting that error.
project.json
{
"name": "project",
"tree": {
"$className": "DataModel",
"Chat": {
"$className": "Chat",
"$ignoreUnknownInstances": true,
"$path": "src/Chat"
},
"ReplicatedFirst": {
"$className": "ReplicatedFirst",
"$ignoreUnknownInstances": true,
"$path": "src/ReplicatedFirst"
},
"ReplicatedStorage": {
"$className": "ReplicatedStorage",
"$ignoreUnknownInstances": true,
"$path": "src/ReplicatedStorage"
},
"ServerScriptService": {
"$className": "ServerScriptService",
"$ignoreUnknownInstances": true,
"$path": "src/ServerScriptService"
},
"ServerStorage": {
"$className": "ServerStorage",
"$ignoreUnknownInstances": true,
"$path": "src/ServerStorage"
},
"StarterGui": {
"$className": "StarterGui",
"$ignoreUnknownInstances": true,
"$path": "src/StarterGui"
},
"StarterPack": {
"$className": "StarterPack",
"$ignoreUnknownInstances": true,
"$path": "src/StarterPack"
},
"StarterPlayer": {
"$className": "StarterPlayer",
"StarterCharacterScripts": {
"$className": "StarterCharacterScripts",
"$ignoreUnknownInstances": true,
"$path": "src/StarterPlayer/StarterCharacterScripts"
},
"StarterPlayerScripts": {
"$className": "StarterPlayerScripts",
"$ignoreUnknownInstances": true,
"$path": "src/StarterPlayer/StarterPlayerScripts"
},
"$ignoreUnknownInstances": true
},
"Workspace": {
"$className": "Workspace",
"$ignoreUnknownInstances": true,
"$path": "src/Workspace"
}
}
}
It’s my second time using Rojo.