Skip to content

Bug with gulp serve + react-three-fiber #7635

Closed
@PooLP

Description

@PooLP

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Developer environment

Windows

What browser(s) / client(s) have you tested

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

  • browser version : Chrome 96
  • SPFx version : 1.13.1
  • Node.js version : 14.16
  • Windows version : 11

Describe the bug / error

Hi,

I wanted to make my first example webpart for using threeJS / React-three-fiber (https://github.com/pmndrs/react-three-fiber).

I configured the webpart and started coding, but gulp serve do not work correctly, after launching debug mode on the browser, the browser blocks (infinite loop?).

Not finding the error, so I built the package to test a deployed version and it works.

I would need help because I don't see where the problem is.

If anyone could test on another environment (mac / linux) or if you have any idea, I am interested.

I have tested with and without fast-serve, i have the same result.
I have tested on another browser, i have the same result.

Packaged version for test
spfx-react-threejs-sample.zip

gitHub repos
https://github.com/PooLP/spfx-react-threejs-sample

Steps to reproduce

  1. launch gulp serve
  2. launch sharepoint for debug webpart
  3. add the webpart

if webpart block on add step, add the package on your app catalog, and add webpart in normal use (no debug) and launch debug after

Expected behavior

it's my first exemple for PnP, i would like to finish it ^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Attention 👋Original poster responded to request for feedback, awaiting attention from Microsoft / community.area:spfxCategory: SharePoint Framework (not extensions related)type:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions