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

Error when building SPFx package and bundling - 404 not found

Open thepowercoders opened this issue 6 years ago • 7 comments

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.

thepowercoders avatar Aug 01 '18 16:08 thepowercoders

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.

thepowercoders avatar Aug 23 '18 09:08 thepowercoders

I have the same problem. This looked like a good project, but it seems impossible to install now.

Is thi project dead?

KarelVDH2 avatar Sep 12 '18 18:09 KarelVDH2

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.

jcskillings avatar Oct 05 '18 17:10 jcskillings

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

JoelFerreira1984 avatar Nov 02 '18 16:11 JoelFerreira1984

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

JoelFerreira1984 avatar Nov 02 '18 16:11 JoelFerreira1984

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

JoelFerreira1984 avatar Nov 05 '18 10:11 JoelFerreira1984

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
    

JoelFerreira1984 avatar Nov 05 '18 14:11 JoelFerreira1984