react-native-modals: Unexpected token in components/Dialog.js
while I upgrade 0.5.20 -> 0.7.22
it shows the error below at runtime:
node_modules/react-native-popup-dialog/src/components/Dialog.js: Unexpected token, expected , (16:14)
seems the problem is at
import { type DialogType} from ...
run on: react 15.4.2 react-native 0.41.2
any suggestion??
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (7 by maintainers)
at first, I tried to upgrade to 0.7.23 directly, it show some error message at runtime, then I just uninstall and reinstall again, it works just fine! (how strange).
thank you @jacklam718 , excellent works 👍
@vault13tech @joegoodall1 Can you try install this version
0.7.23
? This version might be can solve the issue.interesting… @jacklam718 I’ll try to figure out what happened @joegoodall1 is there any clue to be notice??