FluidFramework
FluidFramework copied to clipboard
FF client Buffer error under browser
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.
To Reproduce
- clone Live Share SDK from
https://github.com/microsoft/live-share-sdk - check out commit
1956dff6e5126b10768858d27d15f7a32e639107 - navigate to sample
samples/typescript/08.3d-model - npm install
- npm run start
- navigate to
http://localhost:3000/in browser - 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";
This was fixed by #21257, which was released in 2.0.0-rc.3.0.7 and 2.0.0-rc.4.0.5