diff --git a/genkit-tools/cli/src/commands/start.ts b/genkit-tools/cli/src/commands/start.ts index 4d55fc702b..44c4af3ed5 100644 --- a/genkit-tools/cli/src/commands/start.ts +++ b/genkit-tools/cli/src/commands/start.ts @@ -36,9 +36,16 @@ export const start = new Command('start') .option('-p, --port ', 'port for the Dev UI') .option('-o, --open', 'Open the browser on UI start up') .action(async (options: RunOptions) => { + const projectRoot = await findProjectRoot(); + if (projectRoot.includes('/.Trash/')) { + logger.warn( + 'It appears your current project root is in the trash folder. ' + + 'Please make sure that you current working directory is correct.' + ); + } // Always start the manager. let managerPromise: Promise = startManager( - await findProjectRoot(), + projectRoot, true ); if (!options.noui) {