FluidFramework icon indicating copy to clipboard operation
FluidFramework copied to clipboard

FF client Buffer error under browser

Open huntj88 opened this issue 1 year ago • 1 comments

Describe the bug

Version with bug: 2.0.0-rc.4.0.1 This bug does not happen on 2.0.0-rc.2.0.1

Manual step to fix locally at bottom.

image

To Reproduce

  1. clone Live Share SDK from https://github.com/microsoft/live-share-sdk
  2. check out commit 1956dff6e5126b10768858d27d15f7a32e639107
  3. navigate to sample samples/typescript/08.3d-model
  4. npm install
  5. npm run start
  6. navigate to http://localhost:3000/ in browser
  7. see blank screen, with error in console

Steps to reproduce the behavior:

Expected behavior

App should work.

Manual steps required to fix locally

change file node_modules/@fluid-internal/client-utils/lib/trace.js

from:

import { performance } from "./indexNode.js";

to:

import { performance } from "./performanceIsomorphic.js";

huntj88 avatar May 29 '24 17:05 huntj88

This was fixed by #21257, which was released in 2.0.0-rc.3.0.7 and 2.0.0-rc.4.0.5

tylerbutler avatar Jun 21 '24 21:06 tylerbutler