0
votes

I'm a new Sharepoint global admin and I've found a webpart on github I would really like to use.

However, I have no experience at all in git/json PowerShell etc and all i know right now is how to connect my Sharepoint tenant to PowerShell.

I would really like to add those webparts: https://github.com/SharePoint/sp-dev-solutions/tree/master/solutions/ModernSearch

and I've followed the instruction in this page: https://github.com/SharePoint/sp-dev-solutions to use the solutions:

  • I've cloned the project.
  • I've cd to the right folder (ModernSearch)
  • run npm install
  • and when I'm trying to run gulp serve I get an message "No gulpfile found"

Any idea what I can do to fix this and upload those webparts to my Sharepoint tenant?

I've also downloaded node.js and connected to my tenant via PowerShell (connect-sposervice) before I tried to run those commands mentioned above.

Sorry for lack of knowledge, would really appreciate your help!!

1

1 Answers

0
votes

cd to spfx folder as gulp.js hosts in spfx folder.

Go to the spfx directory

In the command line run:

  • npm install
  • gulp serve