sp-dev-gdpr-activity-hub
sp-dev-gdpr-activity-hub copied to clipboard
Installation Error
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.
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
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
Hi, Have you any error in the console when packaging and bundling the solution with gulp?
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
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