Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react-native asm.js Value undefined out of range for undefined options property undefined #155

Open
renanvalentin opened this issue Dec 2, 2022 · 0 comments

Comments

@renanvalentin
Copy link

Is ASM.JS version supported on react-native? Importing any module gives the following error using Hermes or JSC engine:

import {Address} from '@dcspark/cardano-multiplatform-lib-asmjs/cardano_multiplatform_lib.js';

console.log('Address', Address);
error: node_modules/@dcspark/cardano-multiplatform-lib-asmjs/cardano_multiplatform_lib.asm.js: Value undefined out of range for undefined options property undefined

I can confirm it works perfectly in a browser environment: https://codesandbox.io/s/festive-shadow-9putrt?file=/src/index.js

Many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant