Aug 25 2017 04:06 AM
I started with SPFx development recently. I packaged a client side web-part as a file helloworld-webpart.sppkg following Microsoft's tutorial. Then I uploaded it to my Apps Catalog site. Though it was uploaded to the Apps Catalog successfully, but it's not available for installation on any of the sites. I tried the gear 'Add an App', tried searching for 'helloworld', but couldn't find it.
Any suggestion/help on this would be much appreciated.
Aug 25 2017 05:14 AM
Hello Khan,
Please try with below steps and deploy again your webaprt
1) Change deployment location in write.mainfests.json file under config folder in your project
2) run these 2 commends . package will create and stored in temp/deploy folder
gulp –ship
gulp package-solution –ship
3) Create web part folder under Store Assets , Copy complete deploy folder and paste in your asserts folder in SharePoint.
https://sharepoint.com/sites/appCatalog/StoreAssets list
4) Upload your app in your appcatalog
https://sharepoint.com/sites/appCatalog/AppCatalog/Forms/AllItems.aspx
5) Trust your app solution
6) Try again
Aug 29 2017 11:22 PM
Jul 23 2020 08:46 AM
Hi,
I get the same issue, I manage to solve it using Powershell.
I uploaded the SPFx package to my Apps Catalog site using powershell and when I look for it , I find it.
Connect-PnPOnline -UseWebLogin $Site
# Add the app to the app catalog and publish it
Add-PnPApp -Path $appPath -Scope Site -Publish
I hope this solution can help someone