Might be a dumb question – I started experimenting with Workers and Pages today, so please bare with me…
I am trying to understand how to use
wrangler to update Pages. I tried
wrangler pages deploy and was able to successfully deploy a webpage. But then I noticed that there was no
wrangler.toml file generated in my project directory, and got curious as to how the
wrangler CLI knows which project to deploy to deploy my assets to. When trying to figure that out, I tried deleting the project from the web UI, hoping that it will reset the target project. But instead, now I just keep getting this error:
Project not found. The specified project name does not match any of your existing projects. [code: 8000007]
- Where/how does
wranglerget configured for Pages, and how does it know what project to upload the assets to?
- How can the user update this association?
- Is there a way to have this be maintained through a local configuration file (I assume that
wrangler.tomlis doing that for the Worker directory?)