SharePoint / sp-dev-gdpr-activity-hub

GDPR Activity Hub - Open source starter kit for building a management hub for EU GDPR (European Global Data Protection Regulation).
MIT License
97 stars 47 forks source link

Typescript errors when bundling with gulp #41

Open Luminesomnium opened 6 years ago

Luminesomnium commented 6 years ago

Whenever I get to bundling I get a ton of typescript errors saying properties like "props" and "state" don't exist on different types. By the end of the gulp bundle --ship, I got 645 task errors. Also had to go through installing gulp in the StarterKit folder because it didn't find it otherwise. The PowerShell was opened in Administrator mode and all the previous tasks were done according to the documentation on setup. After the setup failing over and over despite trying different workarounds and installing everything in the aforementioned folder, we tried it out on a clean virtual machine with the same results. Also, there is nothing in the setup documentation that would tell me to install @microsoft/sp-build-web despite it being required for the scripts to run.

PaoloPia commented 6 years ago

Hi, Thanks for using the GDPR Activity Hub. In order for the setup to work properly, you need to setup the SPFx development environment first. The requirement is documented here (https://github.com/SharePoint/sp-dev-gdpr-activity-hub/blob/master/Documentation/Setup-Guide.md#prepare-the-development-environment):

<< In order to install the GDPR Activity Hub, eventually customizing the solution and hosting it in your own hosting environment, you will need a development machine ready to build SharePoint Framework (SPFx) solutions. You can find detailed and updated instructions about how to setup up an SPFx development machine in the document "Set up your SharePoint client-side web part development environment" >>

Luminesomnium commented 6 years ago

Hello!

I followed the instructions exactly like the Setup Guide said. Including the setting up of the development machine part. Even then I've had to install the different generators and gulp and node scripts and such in the working folder just to get it this far because it would just end up in errors where it couldn't locate the said support. The initial setup and installs were all done with admin rights and as stated before also tested on a clean windows 10 machine used only for this purpose.

PriPri804 commented 6 years ago

Same proble here. Anyone found a solution ?