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

bundling failed: SyntaxError #17

Open
ahmetkuslular opened this issue Aug 1, 2021 · 0 comments
Open

bundling failed: SyntaxError #17

ahmetkuslular opened this issue Aug 1, 2021 · 0 comments

Comments

@ahmetkuslular
Copy link

ahmetkuslular commented Aug 1, 2021

This is how it explodes when I include portal in my project. (the project was not written with typescript)

error: bundling failed: SyntaxError: <PROJECT_PATH>/node_modules/@gorhom/portal/src/components/portal/Portal.tsx: Unexpected token (4:12)

  2 | import { nanoid } from 'nanoid/non-secure';
  3 | import { usePortal } from '../../hooks';
> 4 | import type { PortalProps } from './types';
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