npm create cloudflare pegs-api -- --existing-script pegs-apinpm run deploy in the root folder of the project.binding DATABASE of type d1 must have an id specified [code: 10021]preview_database_id as that seemed to have solved a similar, but not identical issue, but that did not solve anything from me. I Added that in both the ./wrangler.toml and ./src/wrangler.toml.