When you delete a project and re-use the same folder to re-create a project using the CLI, you face an error similar to:
[ProjectNotFoundException]
Project not found: <PROJECT_ID>
Either you do not have access to the project or it no longer exists. When you use the Upsun CLI to create a project, the CLI creates a hidden folder to store its settings.
To be able to re-use the folder:
-
Delete the
.platform/local/and.upsun/local/folder -
Run
upsun project:set-remoteto map the folder to your project.
Comments
Please sign in to leave a comment.