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

Cant even compile react-native-crypto using ts #53

Open
0xmikko opened this issue May 10, 2020 · 0 comments
Open

Cant even compile react-native-crypto using ts #53

0xmikko opened this issue May 10, 2020 · 0 comments

Comments

@0xmikko
Copy link

0xmikko commented May 10, 2020

`error Cannot use import statement outside a module. Run CLI with --verbose flag for more details node_modules/react-native-crypto/index.js:3
import { randomBytes } from 'react-native-randombytes'

^^^^^^
`
"react-native": "0.62.2",
"typescript": "^3.8.3"

@0xmikko 0xmikko changed the title Cant even comile react-native-crypto using ts Cant even compile react-native-crypto using ts May 10, 2020
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