Fix the "Failed to create project" issue when executing from source