sp-dev-gdpr-activity-hub
sp-dev-gdpr-activity-hub copied to clipboard
Error when building SPFx package and bundling - 404 not found
The script is running fine until the point it says 'Building SPFx package and bundling' which returns:
Downloading binary from https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-57_binding.node Cannot download "https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-57_binding.node": HTTP error 404 Not Found
When I manually try and access that URL I also get a 404 error.
I get lots of subsequent errors, but guess they are because above binary is not installing.
any update from owner on this if this project is still active? I've looked myself and see other projects getting this error. It appears that this is due to node-sass v3 being deprecated. Github no longer hosts the binaries for node-sass v3.13.1.
It isn't clear to me what has dependencies on that but I did notice a lot of other outdated/deprecated package warnings when compiling.
I tried to update the package.json file but it is still failing and not sure whereabout this is happening.
I have the same problem. This looked like a good project, but it seems impossible to install now.
Is thi project dead?
I had a lot of trouble getting the project to build until installing windows-build-tools https://github.com/felixrieseberg/windows-build-tools Globally installing node-sass with npm may also help.
Hi guys, @antonywm @KarelVDH2 @jcskillings
I had same issues on installation but finally had solve it with this command
npm install --global --production windows-build-tools
Now i am able to navigate in the application but when trying to insert events or requests nothing happens in the form
Any clue how to solve this?
Many thanks
Hi @jcskillings
Thanks for this, for me was the solution to install it
How about the insert Requests and Events forms not working? I mean clicking on save nothing happens
Can you give some help?
Many thanks
Using developer tools on browser i get in the home page this error
Failed to load resource: the server responded with a status of 500 () sites/GDPR2018/_api/social.following/IsFollowed
<m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> <m:code> -1, Microsoft.SharePoint.Client.ClientServiceException </m:code> <m:message xml:lang="pt-PT"> The HTTP method "GET" can not be used to access the "IsFollowed" resource. The resource operation type is specified as "Default". Use the correct HTTP method to invoke the resource. </m:message> </m:error>
More erros in the insert Event form
Failed to load resource: net::ERR_NAME_NOT_RESOLVED relative-path.invalid/react-dom:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED
I am trying to folow this guide but in the second step it fails
https://github.com/SharePoint/sp-dev-gdpr-activity-hub/blob/master/Documentation/Customization.md
Step
Provision workflows
Apply-PnPProvisioningTemplate -Path .\GDPR-Activity-Hub-Workflows.xml -Handlers Workflows
Error
Apply-PnPProvisioningTemplate : Microsoft.Workflow.Client.ActivityValidationException: Workflow XAML failed validation due to the following errors: Character '0' was unexpected in string '0'. Invalid XAML type name. HTTP headers received from the server - ActivityId: b6da46b4-7894-44dc-a141-bf87fd564dbb. NodeId: . Scope: . Client ActivityId : ae669f9e-e006-7000-2ffe-ec246280a09b. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request. at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult At line:1 char:1
- Apply-PnPProvisioningTemplate -Path .\GDPR-Activity-Hub-Workflows.xml ...
-
+ CategoryInfo : WriteError: (:) [Apply-PnPProvisioningTemplate], ServerException + FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Provisioning.ApplyProvisioningTemplate