Forum Discussion

Deleted's avatar
Deleted
Apr 19, 2017

SharePoint Responsive

Good Day Everyone !!

   My client has requested for the responsive design to be applied in their project which is an On-Permise. And I tried using the Pnp Responsive package, but somehow i'm getting the below issue.

 

--> The Connect-PnpOnline was found in the module 'SharePointPnPPowershell2013', but the module could not be loaded. For more information, run 'Import-Module SharePointPnPPowershell2013'.

 

I have tried everything and still the above issue persists. Any of you have idea on how to correct this ? Or any other solutions ?

 

  • Seems an issue related with PnP PowerShell Module. Can you take a look to the path:
    "C:\Program Files\WindowsPowerShell\Modules" and ensure you have the "SharePointPnPPowerShellOnline" folder and check the version folder inside?
    If you're in Windows 10, I'd try to remove the "SharePointPnPPowerShellOnline" folder and re-install the module again:
    Install-Module SharePointPnPPowerShellOnline
    • Deleted's avatar
      Deleted

      Hi Luis,

        Appreciate your response. I went through the path C:\Program Files\WindowsPowerShell\Modules and found 2 folders.

      1. PackageManagement

      2. PowerShellGet

       

      And, the Install-Module SharePointPnPPowerShellOnline is for SharePoint O365 only right (Correct me if i'm wrong) ? I'm looking the solution for On-permise. Do you have any idea for On-Permise ? 

      I'm getting the error mentioned in the image.

      • yeah, sorry, there's another module for SP20113 On Premises:
        Install-Module SharePointPnPPowerShell2013

        However, as you don't have that folder, I'm not sure if that's gonna help.
        How did you install PnP PowerShell?? using the installer? I saw your error in the past, as was always related with PS modules, not PnP, and I fixed re-installing PnP PS...

Resources