-
Notifications
You must be signed in to change notification settings - Fork 243
Open
Description
I am using docker locally and I have setup config file as following:
config.json
{
"$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/v3/index.json",
// Comments are supported.
// This config creates a single connection to GitHub.com that
// indexes the Sourcebot repository
"connections": {
"local-connection": {
"type": "git",
"url": "file:///Users/path/to/repo"
}
}
}
but Sourcebot console on docker keep saying
Error: Config file '/Users/tarang.patel/Desktop/Source-Bot/config.json' is invalid: data/connections/local-connection/type must be equal to constant, data/connections/local-connection/type must be equal to constant, data/connections/local-connection/type must be equal to constant, data/connections/local-connection/type must be equal to constant, data/connections/local-connection/type must be equal to constant, data/connections/local-connection must have required property 'token', data/connections/local-connection/url must match pattern "^(https?:\/\/[^\s/$.?#].[^\s]*|file:\/\/\/[^\s]+)$", data/connections/local-connection must match exactly one schema in oneOf
at loadConfig (/app/packages/shared/src/env.server.ts:110:15)
at async <anonymous> (/app/packages/shared/src/env.server.ts:122:20)
at async <anonymous> (/app/packages/shared/src/env.server.ts:116:20)
Node.js v24.14.0
Not sure where is the issue ? I made sure the repo has .git folder.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels