Skip to content

RN 0.57.8 出错 This browser lacks typed array (Uint8Array) support which is required by buffer v5.x. Use buffer v4.x #44

@evan0204

Description

@evan0204

RN 0.57.8 出错 ,这个错误也只在未开启调试和打包后出问题,打开调试的情况下是没问题的。看了代码。并没有抛出异常,只是做了console.error提示而已,不知道为什么会出异常提示

错误信息:This browser lacks typed array (Uint8Array) support which is required by buffer v5.x. Use buffer v4.x

找到相关问题链接,但是global.Buffer.TYPED_ARRAY_SUPPORT = false 这个方式是不可行的
https://stackoverflow.com/questions/57622618/react-native-this-browser-lacks-typed-array-uint8array-support-which-is-req

除了升级RN到0.60,还有什么其他方法可用?请高手指教!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions