Skip to content
This repository was archived by the owner on Dec 11, 2024. It is now read-only.
This repository was archived by the owner on Dec 11, 2024. It is now read-only.

报错TypeError: Cannot read property 'getConstants' of null, js engine: hermes #45

@yanhongchang-1105

Description

@yanhongchang-1105

描述 / Description

TypeError: Cannot read property 'getConstants' of null, js engine: hermes

复现步骤 / Steps to reproduce

var RNFSFileTypeRegular = (isIOS || isWindows )? RNFSManager.RNFSFileTypeRegular:RNFSManager.getConstants().RNFSFileTypeRegular; var RNFSFileTypeDirectory = (isIOS || isWindows )?RNFSManager.RNFSFileTypeDirectory:RNFSManager.getConstants().RNFSFileTypeDirectory;
文件路径:/node_modules/@react-native-oh-tpl/react-native-fs/FS.common.js

库版本 / Library version

2.20.0-nc.0.1.14

React Native OpenHarmony version

0.72.29

构建类型 / Build type

None

设备 / Device

Simulator

设备版本 / Device model

No response

已悉知 / Acknowledgements

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions