langgraph new ./ --template new-langgraph-project-python ❌ The specified directory…
- User
langgraph new ./ --template new-langgraph-project-python ❌ The specified directory already exists and is not empty. Aborting to prevent overwriting files.
Assistant
It looks like you're trying to create a new LangGraph project using the
langgraphCLI, but the directory you specified (./) already exists and isn't empty.Here's how to fix this:
-
Option 1: Specify a new empty directory
langgraph new my-new-project --template new-langgraph-project-pythonThis will create a new directory called
my-new-projectand initialize the template there. -
Option 2: Use the current directory (force) If you're sure you want to use the current directory and overwrite existing files, you can use the flag:
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.