Ensure you allow the webpart to be deployed tenant-wide.

SharePoint Online | O365 | Azure | + legacy & productivity
Ensure you allow the webpart to be deployed tenant-wide.
The answer is in “npm ls”
The error message is misleading with this one, but it’s a simple fix.
Resolving the issue “Invalid SharePoint App Package. Error: Part URI is not valid per rules defined in the Open Packaging Conventions specification” seems to have a lot to do with the code’s working directory structure.