Question

I received the error message below when I tried to run gulp serve on a tile web part that I got from a starter kit from https://github.com/SharePoint/sp-starter-kit/issues/131

enter image description here

Node version: enter image description here

UPDATE:

I followed the solution on this question: Updating SPFX breaks gulp It got rid of the error message above. I then followed the direction of the first question below by Jerry_MSFT and:

  • made sure npm outdated -g wasn't throwing any mismatches
  • I updated my Node.js and SPFX

Then I found I had more errors, so I installed gulp 3.9.1, I installed the latest node-gyp, and made sure my npm in my 'Program files' was up-to-date

Now I only have one error, Error - [tslint] No valid rules have been specified for TypeScript files. Here is the error on the workbench:

enter image description here

enter image description here

enter image description here

Was it helpful?

Solution 2

This article gave me a successful gulp serve and no more error! Replace your tslint and tsconfig files with the ones on this page

OTHER TIPS

Please use npm install for ..\sp-starter-kit-master\solution folder path:

enter image description here

Then use gulp serve in the same path like this:

enter image description here

In workbench, The Tiles web part can be found and use: enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top