Error:
Run the “swift package-registry set” command in the root directory of a package.
Error: Could not find Package.swift in this directory or any of its parent directories.Solution:
Run the “swift package-registry set” command in the root directory of a package.