Forum Discussion

Daryush1342's avatar
Daryush1342
Copper Contributor
Oct 25, 2021

Run spfx web part

Hi 

I am new in sharepoint I tried to start a web part spfx  and I want to have a hello world for first job

but after I draged my solution <helloworld-webpart.sppkg> in app catalog area. I can't use this app and I got this error:

Sorry, apps are turned off. If you know who runs the server, tell them to enable apps

Can anybody help me what is wrong?

    • Daryush1342's avatar
      Daryush1342
      Copper Contributor

      Don Kirkham 

      Hi, 

      Thanks for you reply, I saw this article befoe. I tried to follow the article
      The article first subject was correct it was enabled.

      The second theme of the first part was correct.

      When I tried to paste the command in sharepoint2019shell, I got the following error, I didn't know what else to do if you can help me


      thanks a lot
      Daryush

      • Don Kirkham's avatar
        Don Kirkham
        MVP

        Daryush1342 

        Looks like the article put two commands together by mistake. Split the commands into the following:

         

        $sa = New-SPSubscriptionSettingsServiceApplication -ApplicationPool 'SharePoint Web Services Default' -Name 'Subscriptions Settings Service Application' -DatabaseName 'Subscription'

         

        New-SPSubscriptionSettingsServiceApplicationProxy -ServiceApplication $sa 

         

        That should get you through the next step. Good Luck

Resources