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

Could not compile Flowtype syntax #2081

Open
BrevAlessioMk opened this issue Jul 22, 2024 · 0 comments
Open

Could not compile Flowtype syntax #2081

BrevAlessioMk opened this issue Jul 22, 2024 · 0 comments

Comments

@BrevAlessioMk
Copy link

Version

17.3.1

Reproduction link

codesandbox.io

Steps to reproduce

pnpm run start throws a syntax error related to the Flow type annotation.

What is expected?

The code should compile, since the babel flow preset is installed and configured.

What is actually happening?

The code is not compiling.


The same configuration was working on Vue 2 ( with vue-template-compiler ).
I am not sure this is a bug but if you can take a look I'd appreciate very much.

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