ParseError: PropertyNameExpected when deplying Pages
Im getting a ParseError: PropertyNameExpected when attempting to deploy my project to cloudflare pages. I have a wrangler.jsonc in my project which I have been able to successfully use to run wrangler deploy commands.
It says
A wrangler.toml file was found but it does not appear to be valid. Did you mean to use wrangler.toml to configure Pages? If so, then make sure the file is valid and contains the pages_build_output_dir property. Skipping file and continuing. but I have "pages_build_output_dir": ".svelte-kit/cloudflare", in the .jsonc.2 Replies
Are you using Pages or Workers? Can you paste your wrangler config?
Pages. I solved the issues by removing my vars from the wrangler. How do I add these variables on the cf dashboard so the project has access to them while building? I added them to Variables and Secrets but my project is still reporting these variables as missing.