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

Cannot use import statement outside a module #2488

Closed
conao3 opened this issue Apr 21, 2023 · 3 comments
Closed

Cannot use import statement outside a module #2488

conao3 opened this issue Apr 21, 2023 · 3 comments

Comments

@conao3
Copy link

conao3 commented Apr 21, 2023

Hi, thanks for this project!

I'm facing this error, I cannot solve it. Please help me?

Cannot use import statement outside a module

maybe this is related to #2296, #2280?

This is my project that produces this error.
https://stackblitz.com/edit/react-ts-8xtbvq?file=App.tsx

@conao3
Copy link
Author

conao3 commented Apr 21, 2023

I want to use react-spectrum and App code comes from its getting-started

@fvsch
Copy link
Contributor

fvsch commented Jul 3, 2023

Thanks for the reproduction project @conao3.

Looks like this is likely to be an error on our side.

@markwhitfeld
Copy link

@conao3 This issue should now be resolved. It is resolved for your reproduction and other variants of the same issue.
Please re-open the issue if you are still experiencing this problem.

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

No branches or pull requests

3 participants