We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
After installing, when I run react-native run-android I get the following error:
react-native run-android
error: bundling failed: SyntaxError: /Users/nickwoods/Documents/GitHub/client-app/node_modules/react-native-toast-notifications/src/index.ts: Unexpected token (4:12) 2 | export { default as ToastProvider } from "./hook/provider"; 3 | export { default as useToast } from "./hook/useToast"; > 4 | export type {ToastType} from './hook/context' | ^
The text was updated successfully, but these errors were encountered:
Fixed by upgrading @babel/core and @babel/runtime as per https://stackoverflow.com/questions/61166181/how-to-solve-syntax-error-unexpected-token-export-type
@babel/core
@babel/runtime
Sorry, something went wrong.
No branches or pull requests
After installing, when I run
react-native run-android
I get the following error:The text was updated successfully, but these errors were encountered: