sp-dev-gdpr-activity-hub icon indicating copy to clipboard operation
sp-dev-gdpr-activity-hub copied to clipboard

Installation Error

Open SwimmingFish849 opened this issue 8 years ago • 5 comments

I've tried to install this and get the following error:

Building SPFx package and bundling Exception occurred! Exception Type: System.Management.Automation.CommandNotFoundException Exception Message: The term 'gulp' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

SwimmingFish849 avatar Oct 23 '17 11:10 SwimmingFish849

Hi @SwimmingFish849 ,

You will need to install gulp before you run the scripts. You might want to have a look "Prepare you development environment" section here: https://github.com/SharePoint/sp-dev-gdpr-activity-hub/blob/master/Documentation/Setup-Guide.md

Pieter-Veenstra avatar Oct 23 '17 12:10 Pieter-Veenstra

Apologies, I missed the command on the page to run npm install -g yo gulp. It's not getting past that error and coming up with another

Uploading SPFx assets to the CDN dir : Cannot find path 'C:\Temp\sp-dev-gdpr-activity-hub-master\GDPRStarterKit\temp\deploy' because it does not exist. At C:\Temp\sp-dev-gdpr-activity-hub-master\Scripts\Provision-GDPRActivityHub.ps1:131 char:32

  • ... foreach ($file in (dir ..\GDPRStarterKit\temp\deploy -File))
  •                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (C:\Temp\sp-dev-...Kit\temp\deploy:String) [Get-ChildItem], ItemNotFound Exception
    • FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand

SwimmingFish849 avatar Oct 23 '17 12:10 SwimmingFish849

Hi, Have you any error in the console when packaging and bundling the solution with gulp?

PaoloPia avatar Oct 24 '17 17:10 PaoloPia

I'm seeing this before a host of errors: Build target: DEBUG [17:59:20] Using gulpfile C:\Temp\sp-dev-gdpr-activity-hub-master\GDPRStarterKit\gulpfile.js [17:59:20] Task 'update-manifest' is not in your gulpfile [17:59:20] Please check the documentation for proper gulpfile formatting [17:59:20] Task 'update-manifest' is not in your gulpfile [17:59:20] Please check the documentation for proper gulpfile formatting About to exit with code: 1 Process terminated before summary could be written, possible error in async code not continuing! Trying to exit with exit code 1

SwimmingFish849 avatar Oct 24 '17 17:10 SwimmingFish849

By adding: require('./gulpfile-update-manifest.js'); In the gulp file I got rid of the above message but i'm still struggling with errors in the attached Errors.txt

SwimmingFish849 avatar Oct 26 '17 07:10 SwimmingFish849