---
title: "Discussion on \"How to fix the \"ReferenceError: SharedArrayBuffer is not defined\" error in React JS\" | Hashnode"
description: "Discussion on \"How to fix the \"ReferenceError: SharedArrayBuffer is not defined\" error in React JS\". I recently tried to build a GIF maker with React and the FFmpeg library and got this error: ReferenceError: SharedArrayBuffer is not defined.\nApparently, this error happens because Chrome does not automatically work with SharedArrayBuffer. It is turn..."
url: "https://hashnode.com/posts/how-to-fix-the-referenceerror-sharedarraybuffer-is-not-defined-error-in-react-js/62cf2dbe466c6ad9ff5d79c5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to fix the "ReferenceError: SharedArrayBuffer is not defined" error in React JS](https://codechunks.hashnode.dev/how-to-fix-the-referenceerror-sharedarraybuffer-is-not-defined-error-in-react-js?utm_source=hashnode&utm_medium=feed)

I recently tried to build a GIF maker with React and the FFmpeg library and got this error: ReferenceError: SharedArrayBuffer is not defined. Apparently, this error happens because Chrome does not automatically work with SharedArrayBuffer. It is turn...

Jul 13, 2022 · 1 min read · codechunks.hashnode.dev  
Read the article

-   [#wasm](https://hashnode.com/tag/wasm)
-   [#ffmpeg](https://hashnode.com/tag/ffmpeg)
-   [#cross-origin](https://hashnode.com/tag/cross-origin)

## Written by

[Debbie Otuagomah](https://hashnode.com/@thatgirldorian)

@thatgirldorian

  
[View profile](https://hashnode.com/@thatgirldorian)

Frontend Developer

Hi! I'm Debbie and I'm currently building an array of frontend engineering skills by learning in public. Here's where I write helpful notes about everything JavaScript for my future self.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
